x86/APX: VROUND{P,S}{S,D} can generally be encoded
authorJan Beulich <jbeulich@suse.com>
Fri, 19 Jan 2024 09:18:32 +0000 (10:18 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 19 Jan 2024 12:25:56 +0000 (13:25 +0100)
commit383775145a4e2d4762bfffb409aeb5f6b065db9f
tree1c3d06155604e163b6cbf201506ea0dc2529d30c
parent03e43c3ecdd7147e136fef92471d0b595b419b5b
x86/APX: VROUND{P,S}{S,D} can generally be encoded

VRNDSCALE{P,S}{S,D} is the AVX512 generalization of these AVX insns. As
long as the immediate has the top 4 bits clear, they are equivalent to
the earlier VEX-encoded insns, and hence can be used to permit use of
eGPR-s in the memory operand. Since this is the normal way of using
these insns, also alter the resulting diagnostic to complain about the
immediate, not the eGPR use.
gas/config/tc-i386.c
gas/testsuite/gas/i386/x86-64-apx-egpr-inval.l
gas/testsuite/gas/i386/x86-64-apx-egpr-inval.s
gas/testsuite/gas/i386/x86-64-apx-evex-promoted-intel.d
gas/testsuite/gas/i386/x86-64-apx-evex-promoted.d
gas/testsuite/gas/i386/x86-64-apx-evex-promoted.s
opcodes/i386-opc.tbl
opcodes/i386-tbl.h