aboutsummaryrefslogtreecommitdiff
path: root/opcodes/i386-gen.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2020-03-03 11:24:16 -0800
committerH.J. Lu <hjl.tools@gmail.com>2020-03-03 11:24:26 -0800
commit3cd7f3e3bdab2b9f5fa0005ce2b8333b46843c3e (patch)
tree8aafcd63e6bd6b7c8890192b8ee7dcb5dc6c01f9 /opcodes/i386-gen.c
parent5e5d66b6a46c7b0353308bfb508b96a59f1addbf (diff)
downloadgdb-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-gen.c')
-rw-r--r--opcodes/i386-gen.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/opcodes/i386-gen.c b/opcodes/i386-gen.c
index 52e6b3e..ac7852e 100644
--- a/opcodes/i386-gen.c
+++ b/opcodes/i386-gen.c
@@ -622,8 +622,7 @@ static bitfield opcode_modifiers[] =
BITFIELD (FloatR),
BITFIELD (Size),
BITFIELD (CheckRegSize),
- BITFIELD (IgnoreSize),
- BITFIELD (DefaultSize),
+ BITFIELD (MnemonicSize),
BITFIELD (Anysize),
BITFIELD (No_bSuf),
BITFIELD (No_wSuf),