x86: convert Control/Debug/Test from bitfield to enumerator
[deliverable/binutils-gdb.git] / opcodes / i386-opc.h
index e8cf895a51933c3b7f720c772b5326c09b883927..2417c08cbd84eda030b0706ae8bdc62f20bc48b3 100644 (file)
@@ -710,6 +710,9 @@ enum operand_class
   ClassNone,
   Reg, /* GPRs and FP regs, distinguished by operand size */
   SReg, /* Segment register */
+  RegCR, /* Control register */
+  RegDR, /* Debug register */
+  RegTR, /* Test register */
 };
 
 /* Position of operand_type bits.  */
@@ -724,12 +727,6 @@ enum
   RegSIMD,
   /* Vector Mask registers */
   RegMask,
-  /* Control register */
-  Control,
-  /* Debug register */
-  Debug,
-  /* Test register */
-  Test,
   /* 1 bit immediate */
   Imm1,
   /* 8 bit immediate */
@@ -820,9 +817,6 @@ typedef union i386_operand_type
       unsigned int regmmx:1;
       unsigned int regsimd:1;
       unsigned int regmask:1;
-      unsigned int control:1;
-      unsigned int debug:1;
-      unsigned int test:1;
       unsigned int imm1:1;
       unsigned int imm8:1;
       unsigned int imm8s:1;
This page took 0.02361 seconds and 4 git commands to generate.