]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - opcodes/ChangeLog
x86: Rename VecSIB to SIB for Intel AMX
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 26 Jun 2020 15:24:30 +0000 (08:24 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 26 Jun 2020 15:24:44 +0000 (08:24 -0700)
commit63112cd67b21c9ee1c1db903d6b13a6c30ce6dab
tree718c03e59e830ee08235d04b55e633f33e055a61
parent8e6635bd14a94d4363ad79f5bb40fcc7b99a2ca6
x86: Rename VecSIB to SIB for Intel AMX

Rename VecSIB to SIB to support Intel Advanced Matrix Extensions which
introduces instructions with a mandatory SIB byte which isn't a vector
SIB (VSIB).

gas/

* config/tc-i386.c (check_VecOperands): Replace vecsib with sib.
Replace VecSIB128, VecSIB256 and VecSIB512 with VECSIB128,
VECSIB256 and VECSIB512, respectively.
(build_modrm_byte): Replace vecsib with sib.

opcodes/

* i386-gen.c (opcode_modifiers): Replace VecSIB with SIB.
(VecSIB128): Renamed to ...
(VECSIB128): This.
(VecSIB256): Renamed to ...
(VECSIB256): This.
(VecSIB512): Renamed to ...
(VECSIB512): This.
(VecSIB): Renamed to ...
(SIB): This.
(i386_opcode_modifier): Replace vecsib with sib.
* i386-opc.tbl (VexSIB128): New.
(VecSIB256): Likewise.
(VecSIB512): Likewise.
Replace VecSIB=1, VecSIB=2 and VecSIB=3 with VexSIB128, VecSIB256
and VecSIB512, respectively.
gas/ChangeLog
gas/config/tc-i386.c
opcodes/ChangeLog
opcodes/i386-gen.c
opcodes/i386-opc.h
opcodes/i386-opc.tbl