SUNDAY, JULY 19, 2026
gcc/i386 Performance Win
Add ISA support for AVX10_V2_AUX and FP32 to FP8 converts
GCC adds support for AVX10_V2_AUX ISA extensions, enabling FP32 to FP8 single-source RTNE conversions.
GCC introduces support for the AVX10_V2_AUX instruction set extensions. This enables new single-source runtime-selected (RTNE) conversions between FP32 and FP8 floating-point formats. The changes include updates to CPU feature detection, intrinsic functions, and machine-level code generation for the x86 architecture.
In Details
Adds AVX10_V2_AUX ISA support to GCC, enabling FP32-to-FP8 conversions. This involves extending cpuinfo.h, i386-common.cc, and various .h/.def/.md files to recognize and handle the new instructions and data types. It also includes new test cases and documentation updates.
For Context
- AVX10_V2_AUX
- An extension to the Advanced Vector Extensions (AVX) instruction set architecture for x86 processors, providing new capabilities for floating-point operations.
- RTNE
- Runtime-selected, which means the specific instruction or conversion behavior is determined at runtime rather than being fixed at compile time.
- FP32
- Single-precision floating-point format, typically using 32 bits.
- FP8
- An 8-bit floating-point format, offering reduced precision and memory footprint compared to FP32 or FP16.