diff options
author | Jan Beulich <jbeulich@suse.com> | 2021-02-16 11:27:40 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2021-02-16 11:27:40 +0100 |
commit | b818b220e40a0b5aa281e50272f6f6af2f759c86 (patch) | |
tree | f63bab0764f23db4596c0ccd291c44b993e648b5 /opcodes/i386-opc.tbl | |
parent | c2f1204d1f7ceb36149d053509fce2f93733bd74 (diff) | |
download | gdb-b818b220e40a0b5aa281e50272f6f6af2f759c86.zip gdb-b818b220e40a0b5aa281e50272f6f6af2f759c86.tar.gz gdb-b818b220e40a0b5aa281e50272f6f6af2f759c86.tar.bz2 |
x86: have preprocessor expand macros
There's no point having i386-gen's set_bitfield() to handle any aliases,
now that we pass the opcode table through the C preprocessor anyway.
Diffstat (limited to 'opcodes/i386-opc.tbl')
-rw-r--r-- | opcodes/i386-opc.tbl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/opcodes/i386-opc.tbl b/opcodes/i386-opc.tbl index 04e2a09..3b29dd5 100644 --- a/opcodes/i386-opc.tbl +++ b/opcodes/i386-opc.tbl @@ -58,6 +58,9 @@ #define RegBND Class=RegBND +#define Mmword Qword +#define Oword Xmmword + #define JumpByte Jump=JUMP_BYTE #define JumpDword Jump=JUMP_DWORD #define JumpAbsolute Jump=JUMP_ABSOLUTE @@ -106,6 +109,8 @@ // operands may allow to switch from 3-byte to 2-byte VEX encoding. #define C StaticRounding +#define CpuFP Cpu387|Cpu287|Cpu8087 + ### MARKER ### // Move instructions. |