From 00cee14fbad24453ff56656c5726ef5e4b0de588 Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Fri, 8 Nov 2019 09:04:09 +0100 Subject: x86: convert SReg from bitfield to enumerator This is to further shrink the operand type representation. --- opcodes/i386-opc.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'opcodes/i386-opc.h') diff --git a/opcodes/i386-opc.h b/opcodes/i386-opc.h index 5c49ac1..e8cf895 100644 --- a/opcodes/i386-opc.h +++ b/opcodes/i386-opc.h @@ -709,6 +709,7 @@ enum operand_class { ClassNone, Reg, /* GPRs and FP regs, distinguished by operand size */ + SReg, /* Segment register */ }; /* Position of operand_type bits. */ @@ -729,8 +730,6 @@ enum Debug, /* Test register */ Test, - /* Segment register */ - SReg, /* 1 bit immediate */ Imm1, /* 8 bit immediate */ @@ -824,7 +823,6 @@ typedef union i386_operand_type unsigned int control:1; unsigned int debug:1; unsigned int test:1; - unsigned int sreg:1; unsigned int imm1:1; unsigned int imm8:1; unsigned int imm8s:1; -- cgit v1.1