]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
x86: drop a few excess AVX512VL from opcode table
authorJan Beulich <jbeulich@suse.com>
Fri, 28 Nov 2025 08:48:54 +0000 (09:48 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 28 Nov 2025 08:48:54 +0000 (09:48 +0100)
commit7dfdc927a17aaad1f071e669aee04ef9abdd0cc9
tree54e8a8d261476940a4f03caeb0bfb2f110265491
parent46871224c49722d408428f1e2f050d4c8a52cc4b
x86: drop a few excess AVX512VL from opcode table

In commit 24187fb9c0d0 ("x86/APX: extend SSE2AVX coverage") I apparently
went a little to far with AVX512VL uses:
- PEXTRQ and PINSRQ are AVX512DQ alone, despite using 128-bit (XMM)
  registers,
- SSE41DQ is used for only PEXTRD and PINSRD, falling in the same
  category.

With the SSE41DQ observation above, also simplify Disp8MemShift handling
there: No need to override it in the insn template, as long as the
manufacturing template specifies it correctly.

Note that the AVX512DW form of PINSRQ also had a stray "AVX" CPU specifier
on it. Make this disappear by templatizing via a new SSE41DQ64
manufacturing template (covering PEXTRQ and PINSRQ, paralleling SSE41DQ).
opcodes/i386-opc.tbl
opcodes/i386-tbl.h