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>
This commit is contained in:
Damien Lespiau 2013-01-18 11:52:01 +00:00
parent 5e7e3f43a5
commit 4431869bef
2 changed files with 3 additions and 3 deletions

View File

@ -552,8 +552,8 @@
#define BRW_MASK_ENABLE 0 #define BRW_MASK_ENABLE 0
#define BRW_MASK_DISABLE 1 #define BRW_MASK_DISABLE 1
#define BRW_ACCWRCTRL_NONE 0 #define BRW_ACCUMULATOR_WRITE_DISABLE 0
#define BRW_ACCWRCTRL_ACCWRCTRL 1 #define BRW_ACCUMULATOR_WRITE_ENABLE 1
#define BRW_OPCODE_MOV 1 #define BRW_OPCODE_MOV 1
#define BRW_OPCODE_SEL 2 #define BRW_OPCODE_SEL 2

View File

@ -2605,7 +2605,7 @@ instoption_list:instoption_list COMMA instoption
$$.header.debug_control = BRW_DEBUG_BREAKPOINT; $$.header.debug_control = BRW_DEBUG_BREAKPOINT;
break; break;
case ACCWRCTRL: case ACCWRCTRL:
$$.header.acc_wr_control = BRW_ACCWRCTRL_ACCWRCTRL; $$.header.acc_wr_control = BRW_ACCUMULATOR_WRITE_ENABLE;
} }
} }
| instoption_list instoption | instoption_list instoption