x86: FMA insns aren't eligible to VEX2 encoding
authorJan Beulich <jbeulich@suse.com>
Tue, 9 Jan 2024 12:49:48 +0000 (13:49 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 9 Jan 2024 12:49:48 +0000 (13:49 +0100)
commit7440781b67631ebdf1b0587724f5d77c3748b034
tree04723bc6926322d35ccc3501f109a79d908ca6b3
parentac1b12b51344ad8568c7b2ca3ab50ca7306ba06d
x86: FMA insns aren't eligible to VEX2 encoding

PR gas/31178

In da0784f961d8 ("x86: fold FMA VEX and EVEX templates") I overlooked
that C aliases StaticRounding, and hence build_vex_prefix() now needs to
be aware of that aliasing. Disambiguation is easy, as StaticRounding is
only ever used together with SAE (hence why the overlaying works in the
first place).
gas/config/tc-i386.c
gas/testsuite/gas/i386/x86-64-optimize-2.d
gas/testsuite/gas/i386/x86-64-optimize-2.s
gas/testsuite/gas/i386/x86-64-optimize-2a.d
gas/testsuite/gas/i386/x86-64-optimize-2b.d
gas/testsuite/gas/i386/x86-64-optimize-2c.d
gas/testsuite/gas/i386/x86-64-optimize-5.d
gas/testsuite/gas/i386/x86-64-optimize-6.d