[PATCH 19/90] assembler: Rename BRW_ACCWRCTRL_ACCWRCTRL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



To a more self-describing define. This hopefully will help its inclusion
into Mesa.

Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
---
 assembler/brw_defines.h |    4 ++--
 assembler/gram.y        |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/assembler/brw_defines.h b/assembler/brw_defines.h
index bd72abb..c4ffe9b 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 faba2eb..55708ca 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
-- 
1.7.7.5



[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux