diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2020-03-03 11:24:16 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2020-03-03 11:24:26 -0800 |
commit | 3cd7f3e3bdab2b9f5fa0005ce2b8333b46843c3e (patch) | |
tree | 8aafcd63e6bd6b7c8890192b8ee7dcb5dc6c01f9 /opcodes/i386-opc.tbl | |
parent | 5e5d66b6a46c7b0353308bfb508b96a59f1addbf (diff) | |
download | gdb-3cd7f3e3bdab2b9f5fa0005ce2b8333b46843c3e.zip gdb-3cd7f3e3bdab2b9f5fa0005ce2b8333b46843c3e.tar.gz gdb-3cd7f3e3bdab2b9f5fa0005ce2b8333b46843c3e.tar.bz2 |
x86: Replace IgnoreSize/DefaultSize with MnemonicSize
Since an instruction template can't have both IgnoreSize and DefaultSize,
this patch replaces IgnoreSize and DefaultSize with MnemonicSize.
gas/
* config/tc-i386.c (match_template): Replace ignoresize and
defaultsize with mnemonicsize.
(process_suffix): Likewise.
opcodes/
* i386-gen.c (opcode_modifiers): Replace IgnoreSize/DefaultSize
with MnemonicSize.
* i386-opc.h (IGNORESIZE): New.
(DEFAULTSIZE): Likewise.
(IgnoreSize): Removed.
(DefaultSize): Likewise.
(MnemonicSize): New.
(i386_opcode_modifier): Replace ignoresize/defaultsize with
mnemonicsize.
* i386-opc.tbl (IgnoreSize): New.
(DefaultSize): Likewise.
* i386-tbl.h: Regenerated.
Diffstat (limited to 'opcodes/i386-opc.tbl')
-rw-r--r-- | opcodes/i386-opc.tbl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/opcodes/i386-opc.tbl b/opcodes/i386-opc.tbl index 69b9cf5..2c8c0f8 100644 --- a/opcodes/i386-opc.tbl +++ b/opcodes/i386-opc.tbl @@ -66,6 +66,9 @@ #define Size32 Size=SIZE32 #define Size64 Size=SIZE64 +#define IgnoreSize MnemonicSize=IGNORESIZE +#define DefaultSize MnemonicSize=DEFAULTSIZE + // RegMem implies a ModR/M byte #define RegMem Modrm|RegMem |