x86: Add AVX10_BMM option support
Adds AVX10_BMM option to binutils, enabling AVX512BMM instructions across all vector lengths.
This patch, part of a series, adds support for the AVX10_BMM option in binutils’ assembler. This new option leverages the AVX512_BMM instruction set but extends its availability to all vector lengths, not just 512-bit. It implies AVX10.1 and AVX512_BMM features. The changes include updates to NEWS, gas/config/tc-i386.c, gas/doc/c-i386.texi, and opcodes subdirectories.
- proposer
Submitted the fourth patch in a series, adding AVX10_BMM option support to x86 gas and opcodes.
“New in v2. AVX10_BMM uses the same instruction set as AVX512_BMM. The difference is with .avx10_bmm, it will enable all vector length, not 512 bit only. Since it is under AVX10 umbrella. We will just simply let AVX10_BMM imply both AVX10.1 and AVX512_BMM.”
In Details
This is the fourth patch in a series adding AVX10 support to binutils, specifically focusing on the AVX10_BMM feature. It modifies gas (assembler) and opcodes components. The gas/config/tc-i386.c and gas/doc/c-i386.texi files are updated to recognize .avx10_bmm as a valid CPU feature and to document it. The opcodes directory files (i386-gen.c, i386-opc.h, i386-init.h, i386-tbl.h) are modified or regenerated to include the new instruction set's definitions and encoding rules. The key change is that AVX10_BMM enables AVX512_BMM instructions without the 512-bit vector length…
- AVX10_BMM
- An extension to the AVX10 instruction set architecture that provides support for BFloat16 (Brain Floating Point) operations across all vector lengths.
- AVX512_BMM
- An AVX-512 extension that enables BFloat16 operations, typically restricted to 512-bit vector registers.
- gas
- The GNU Assembler, part of the GNU Binutils package, responsible for converting assembly language code into machine code.
- opcodes
- Refers to the part of binutils responsible for handling the instruction set architecture, including defining and encoding machine instructions.
- vector length
- The size (in bits) of the data that can be processed by a single SIMD (Single Instruction, Multiple Data) instruction. Common lengths include 128, 256, and 512 bits.