mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-21 05:13:47 +00:00
assembler: Use subreg_nr to store the address register subreg
Another step towards using struct brw_reg for source and destination operands. Instead of having a separate field to store the sub register number of the address register in indirect access mode, we can reuse the subreg_nr field that was only used for direct access so far. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
This commit is contained in:
@@ -97,7 +97,6 @@ struct dst_operand {
|
||||
int address_mode; /* 0 if direct, 1 if register-indirect */
|
||||
|
||||
/* Indirect addressing */
|
||||
int address_subreg_nr;
|
||||
int indirect_offset;
|
||||
};
|
||||
|
||||
@@ -114,7 +113,6 @@ struct src_operand {
|
||||
int default_region;
|
||||
|
||||
int address_mode; /* 0 if direct, 1 if register-indirect */
|
||||
int address_subreg_nr;
|
||||
int indirect_offset; /* XXX */
|
||||
|
||||
int swizzle_set;
|
||||
|
||||
Reference in New Issue
Block a user