mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-20 21:02:59 +00:00
assembler: Use brw_reg in the source operand
Last refactoring step in transition to struct brw_reg. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
This commit is contained in:
+2
-12
@@ -86,19 +86,9 @@ struct regtype {
|
||||
* parser.
|
||||
*/
|
||||
struct src_operand {
|
||||
int reg_file, reg_nr, subreg_nr, reg_type;
|
||||
|
||||
int abs, negate;
|
||||
|
||||
int horiz_stride, width, vert_stride;
|
||||
struct brw_reg reg;
|
||||
int default_region;
|
||||
|
||||
int address_mode; /* 0 if direct, 1 if register-indirect */
|
||||
int indirect_offset; /* XXX */
|
||||
|
||||
unsigned swizzle: 8;
|
||||
|
||||
uint32_t imm32; /* set if reg_file == BRW_IMMEDIATE_VALUE or it is expressing a branch offset */
|
||||
uint32_t imm32; /* set if reg.file == BRW_IMMEDIATE_VALUE or it is expressing a branch offset */
|
||||
char *reloc_target; /* bspec: branching instructions JIP and UIP are source operands */
|
||||
} src_operand;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user