]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
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 09:18:32 +0000 (10:18 +0100)
commiteea4357967b6182459d423c4d919a7cb0219604b
tree4dc5a7e8206da788bc09c06871cc5975ae9ca5b4
parent2519809009ed5e250ad9ed9b6184d9c45dba5029
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