x86: Support VEX base opcode length > 1
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 29 Jun 2020 13:28:31 +0000 (06:28 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 29 Jun 2020 13:28:46 +0000 (06:28 -0700)
commit8c190ce03837391885bbba9055bea04d36077f9c
tree9c235d4c1c749d7a75ab69135df39698dc985787
parenta57f74bb7cc15f1116f72c6d70dcc3f31c303ad4
x86: Support VEX base opcode length > 1

Intel AMX instructions with 8-bit immediate opcode extension without
operands:

tilerelease, 0, 0x49c0, None, 2, CpuAMX_TILE|Cpu64, Vex|VexOpcode=1|No_bSuf|No_wSuf|No_lSuf|No_sSuf|No_qSuf|No_ldSuf, { 0 }

Update build_vex_prefix to support VEX base opcode length > 1.

* tc-i386.c (build_vex_prefix): Support VEX base opcode length > 1.
(md_assemble): Don't process ImmExt without operands.
gas/ChangeLog
gas/config/tc-i386.c