From 750eeecf4e458c1ddc32662c828beea9f189ba26 Mon Sep 17 00:00:00 2001 From: Iago Toral Quiroga Date: Thu, 17 Feb 2022 08:55:16 +0100 Subject: [PATCH] broadcom/compiler: document that spill_base is used for spills and scratch MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Alejandro PiƱeiro Part-of: --- src/broadcom/compiler/v3d_compiler.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/broadcom/compiler/v3d_compiler.h b/src/broadcom/compiler/v3d_compiler.h index ef59948dc23..58411bfdbc3 100644 --- a/src/broadcom/compiler/v3d_compiler.h +++ b/src/broadcom/compiler/v3d_compiler.h @@ -797,9 +797,11 @@ struct v3d_compile { /** * Register spilling's per-thread base address, shared between each - * spill/fill's addressing calculations. + * spill/fill's addressing calculations (also used for scratch + * access). */ struct qreg spill_base; + /* Bit vector of which temps may be spilled */ BITSET_WORD *spillable;