Move shared AVX10.2 and VNNI byte and word intrinsics to AVX10V1AUX
Consolidates AVX10.2 VNNI byte/word intrinsics into the new AVX10V1AUX header.
This commit refactors the GCC i386 backend by moving shared byte and word intrinsics for AVX10.2 and VNNI instructions into a new header file, avx10v1auxintrin.h. This consolidation simplifies the codebase and aligns the intrinsic definitions with the AVX10V1AUX feature, updating relevant machine description files and compiler logic to use the new consolidated header.
In Details
This patch moves VNNI byte and word intrinsics previously defined in avx10_2mediaintrin.h to avx10v1auxintrin.h. This consolidation is part of the ongoing effort to integrate AVX10V1AUX support. Changes include updating machine-dependent files (i386.md, i386-builtin.def, i386-expand.cc, i386.cc) to use the new header and feature guard, and retargeting existing patterns. The intent is to share common intrinsics across related ISA extensions.
- AVX10V1AUX
- A specific extension of the AVX-512 instruction set, providing new functionalities and potentially renaming or consolidating existing ones for wider compatibility.
- VNNI
- Vector Neural Network Instructions, designed to accelerate deep learning workloads by performing packed integer operations.
- intrinsics
- Compiler-specific functions that map directly to specific machine instructions, providing a way to access hardware features from C/C++ code.
- AVX10.2
- A specific version of the AVX-512 instruction set, representing a particular set of advanced vector extensions.
- i386.md
- A machine description file for the i386 architecture used by GCC, defining instruction patterns and their properties.