diff options
author | Jan Beulich <jbeulich@suse.com> | 2019-11-14 08:46:19 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2019-11-14 08:46:19 +0100 |
commit | 601e8564220b94b991ce1729edfc04fd9da52906 (patch) | |
tree | c2d7bdef3ed24d92a9cd9ba157a58c8bec99d201 /opcodes/i386-opc.h | |
parent | db4e407b539180099a2aa395571bd417daa1daeb (diff) | |
download | gdb-601e8564220b94b991ce1729edfc04fd9da52906.zip gdb-601e8564220b94b991ce1729edfc04fd9da52906.tar.gz gdb-601e8564220b94b991ce1729edfc04fd9da52906.tar.bz2 |
x86: make AnySize an insn attribute
... instead of an operand one. Which operand it applies to can be
determined from other operand properties, but as it turns out the only
place it is actually used at doesn't even need further qualification.
Diffstat (limited to 'opcodes/i386-opc.h')
-rw-r--r-- | opcodes/i386-opc.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/opcodes/i386-opc.h b/opcodes/i386-opc.h index fe20142..fb65264 100644 --- a/opcodes/i386-opc.h +++ b/opcodes/i386-opc.h @@ -429,6 +429,8 @@ enum IgnoreSize, /* default insn size depends on mode */ DefaultSize, + /* any memory size */ + Anysize, /* b suffix on instruction illegal */ No_bSuf, /* w suffix on instruction illegal */ @@ -658,6 +660,7 @@ typedef struct i386_opcode_modifier unsigned int checkregsize:1; unsigned int ignoresize:1; unsigned int defaultsize:1; + unsigned int anysize:1; unsigned int no_bsuf:1; unsigned int no_wsuf:1; unsigned int no_lsuf:1; @@ -796,8 +799,6 @@ enum Zmmword, /* Unspecified memory size. */ Unspecified, - /* Any memory size. */ - Anysize, /* The number of bits in i386_operand_type. */ OTNum @@ -809,9 +810,8 @@ enum (OTNumOfUints * sizeof (unsigned int) * CHAR_BIT) /* If you get a compiler error for zero width of the unused field, - comment it out. + comment it out. */ #define OTUnused OTNum -*/ typedef union i386_operand_type { @@ -843,7 +843,6 @@ typedef union i386_operand_type unsigned int ymmword:1; unsigned int zmmword:1; unsigned int unspecified:1; - unsigned int anysize:1; #ifdef OTUnused unsigned int unused:(OTNumOfBits - OTUnused); #endif |