summaryrefslogtreecommitdiff
path: root/assembler/gen4asm.h
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2013-01-21 14:04:59 +0000
committerDamien Lespiau <damien.lespiau@intel.com>2013-03-04 15:54:37 +0000
commit8322802acba537777d8877fc7e74115df3a9bdef (patch)
tree92ba1bb1ac75ad249640a2f846cef956121320d1 /assembler/gen4asm.h
parent02019d4d554623f151f8c800a0812a8fee237ee6 (diff)
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>
Diffstat (limited to 'assembler/gen4asm.h')
-rw-r--r--assembler/gen4asm.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/assembler/gen4asm.h b/assembler/gen4asm.h
index e57a6991..a2ab5e8b 100644
--- a/assembler/gen4asm.h
+++ b/assembler/gen4asm.h
@@ -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;