This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: Fix CpuUnused and OTUnused


I am checking this patch to fix CpuUnused and OTUnused. Otherwise
they may be wrong when we add more cpu flags and operand types.


H.J.
----
2007-09-12  H.J. Lu  <hongjiu.lu@intel.com>

	* i386-opc.h (CpuUnused): Defined with CpuMax.
	(OTUnused): Defined with OTMax.

--- opcodes/i386-opc.h.unused	2007-09-08 18:23:19.000000000 -0700
+++ opcodes/i386-opc.h	2007-09-12 11:50:03.000000000 -0700
@@ -94,7 +94,7 @@
 
 /* If you get a compiler error for zero width of the unused field,
    comment it out.  */
-#define CpuUnused	(CpuNo64 + 1)
+#define CpuUnused	(CpuMax + 1)
 
 /* We can check if an instruction is available with array instead
    of bitfield. */
@@ -334,7 +334,7 @@ typedef struct i386_opcode_modifier
 /* If you get a compiler error for zero width of the unused field,
    comment it out.  */
 #if 0
-#define OTUnused		(RegMem + 1)
+#define OTUnused		(OTMax + 1)
 #endif
 
 typedef union i386_operand_type


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]