x86: Support x86 Intel AVX10.3 VPINTERLEAVE instructions
Adds support for AVX10.3 VPINTERLEAVE instructions, noting encoding differences compared to VEX-based instructions.
This patch introduces support for the AVX10.3 VPINTERLEAVE instructions into binutils. These instructions provide functionality similar to 128-bit VPUNPCK instructions but use a longer EVEX encoding for the %xmm registers. The patch updates the assembler’s test suite and opcode definitions to handle these new instructions correctly. An optimization to reduce code size for the 128-bit versions is planned for a future patch.
In Details
This patch adds support for the AVX10.3 VPINTERLEAVE instructions. It updates opcodes/i386-opc.tbl and the disassembler's EVEX-related header files and C source. The gas test suite is also expanded with new .d, .s, and .exp files. The summary notes that the 128-bit versions use EVEX encoding, resulting in a longer encoding than comparable VEX-based VPUNPCK instructions, with potential for future code size optimizations.
- AVX10.3
- A version of Intel's Advanced Vector Extensions instruction set, which includes enhancements over previous versions like AVX10.2.
- VPINTERLEAVE
- An instruction that interleaves elements from two source registers into a destination register, part of the AVX10.3 instruction set.
- VPUNPCK
- Vector Unpack High/Low instructions, used to interleave elements from vector registers.
- EVEX
- An advanced instruction encoding scheme used in AVX-512 and later x86 extensions, capable of encoding longer instructions and supporting more features than previous schemes like VEX.
- VEX
- Vector Extension, an instruction encoding scheme used in AVX and AVX2 that replaced the older SSE prefixing scheme.