aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2020-06-26 10:24:59 -0700
committerH.J. Lu <hjl.tools@gmail.com>2020-06-26 10:25:12 -0700
commitb6cd5d100a3ecc80f35d667063f94c98bdfbf20a (patch)
treed556549a1e8cfe16034d7bb600193b5d409459f8 /gas/config
parente978ad62496d42e20f1b06d5f6a78c67e55b21f9 (diff)
downloadgdb-b6cd5d100a3ecc80f35d667063f94c98bdfbf20a.zip
gdb-b6cd5d100a3ecc80f35d667063f94c98bdfbf20a.tar.gz
gdb-b6cd5d100a3ecc80f35d667063f94c98bdfbf20a.tar.bz2
x86: Process ImmExt without operands
To support Intel AMX instructions with 8-bit immediate opcode extension, but without operands: tilerelease, 0, 0x49, 0xc0, 1, CpuAMX_TILE|Cpu64, Vex|VexOpcode=1|No_bSuf|No_wSuf|No_lSuf|No_sSuf|No_qSuf|No_ldSuf|ImmExt, { 0 } process ImmExt without operands. * config/tc-i386.c (md_assemble): Process ImmExt without operands.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-i386.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index bae9680..ae2a2c1 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -4873,8 +4873,12 @@ md_assemble (char *line)
if (!process_operands ())
return;
}
- else if (!quiet_warnings && i.tm.opcode_modifier.ugh)
+ else
{
+ if (i.tm.opcode_modifier.immext)
+ process_immext ();
+
+ if (!quiet_warnings && i.tm.opcode_modifier.ugh)
/* UnixWare fsub no args is alias for fsubp, fadd -> faddp, etc. */
as_warn (_("translating to `%sp'"), i.tm.name);
}