x86: Replace IgnoreSize/DefaultSize with MnemonicSize
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 3 Mar 2020 19:24:16 +0000 (11:24 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 3 Mar 2020 19:24:26 +0000 (11:24 -0800)
commit3cd7f3e3bdab2b9f5fa0005ce2b8333b46843c3e
tree8aafcd63e6bd6b7c8890192b8ee7dcb5dc6c01f9
parent5e5d66b6a46c7b0353308bfb508b96a59f1addbf
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.
gas/ChangeLog
gas/config/tc-i386.c
opcodes/ChangeLog
opcodes/i386-gen.c
opcodes/i386-opc.h
opcodes/i386-opc.tbl
opcodes/i386-tbl.h