summaryrefslogtreecommitdiff
path: root/assembler
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2013-01-18 11:52:01 +0000
committerDamien Lespiau <damien.lespiau@intel.com>2013-03-04 15:54:36 +0000
commit4431869bef02d96692dabfa26923b4a5b97e3481 (patch)
tree377e19ddb6b97ca000e8a817d75d5b9b5b4352d8 /assembler
parent5e7e3f43a5965d5757952f3798769111a2a21bc7 (diff)
assembler: Rename BRW_ACCWRCTRL_ACCWRCTRL
To a more self-describing define. This hopefully will help its inclusion into Mesa. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Diffstat (limited to 'assembler')
-rw-r--r--assembler/brw_defines.h4
-rw-r--r--assembler/gram.y2
2 files changed, 3 insertions, 3 deletions
diff --git a/assembler/brw_defines.h b/assembler/brw_defines.h
index bd72abb9..c4ffe9bf 100644
--- a/assembler/brw_defines.h
+++ b/assembler/brw_defines.h
@@ -552,8 +552,8 @@
#define BRW_MASK_ENABLE 0
#define BRW_MASK_DISABLE 1
-#define BRW_ACCWRCTRL_NONE 0
-#define BRW_ACCWRCTRL_ACCWRCTRL 1
+#define BRW_ACCUMULATOR_WRITE_DISABLE 0
+#define BRW_ACCUMULATOR_WRITE_ENABLE 1
#define BRW_OPCODE_MOV 1
#define BRW_OPCODE_SEL 2
diff --git a/assembler/gram.y b/assembler/gram.y
index faba2eba..55708caf 100644
--- a/assembler/gram.y
+++ b/assembler/gram.y
@@ -2605,7 +2605,7 @@ instoption_list:instoption_list COMMA instoption
$$.header.debug_control = BRW_DEBUG_BREAKPOINT;
break;
case ACCWRCTRL:
- $$.header.acc_wr_control = BRW_ACCWRCTRL_ACCWRCTRL;
+ $$.header.acc_wr_control = BRW_ACCUMULATOR_WRITE_ENABLE;
}
}
| instoption_list instoption