x86: add missing APX logic to cpu_flags_match()
authorJan Beulich <jbeulich@suse.com>
Tue, 9 Jan 2024 12:50:27 +0000 (13:50 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 9 Jan 2024 12:50:27 +0000 (13:50 +0100)
commit7c3df3c680c2bee0b17e60bfbadc751c67e05ed0
treecfd73af5e18b93d100a381b2bfd16716f8147492
parent7440781b67631ebdf1b0587724f5d77c3748b034
x86: add missing APX logic to cpu_flags_match()

As already indicated during review, we can't get away without certain
adjustments here: Without these, respective {evex}-prefixed insns are
assembled to APX encodings even when APX_F is turned off.

While there also extend the respective comment in the opcode table, to
explain why this construct is used.
gas/config/tc-i386.c
gas/testsuite/gas/i386/x86-64-apx-egpr-promote-inval.l
gas/testsuite/gas/i386/x86-64-apx-egpr-promote-inval.s
opcodes/i386-opc.tbl