i386: Fix up VF48H_AVX512VL condition for AVX512FP16
Corrects instruction generation for AVX512FP16 with specific flags.
This commit fixes an issue in the i386 architecture’s instruction generation for AVX512FP16. The condition for the VF48H_AVX512VL iterator was incorrectly set, leading to suboptimal code generation when using flags like -mf16c -mavx512fp16 -mno-avx512vl. The change updates the condition to correctly handle these scenarios, improving code quality for affected users.
In Details
The i386 backend's sse.md file defines VF48H_AVX512VL for vector operations. This commit corrects the operand condition for the V8SF mode within this iterator, ensuring that specific AVX512FP16 instructions are generated correctly when -mno-avx512vl is present, aligning with user expectations for -mf16c and -mavx512fp16 flags.
- AVX512FP16
- An instruction set extension for AVX-512 that adds support for 16-bit floating-point operations.
- VF48H_AVX512VL
- A mode iterator used in GCC's i386 backend to define vector operations, specifically related to AVX-512 functionality.
- iterator
- In GCC's backend code generation, an iterator defines a set of modes or operations that can be used for a particular instruction pattern.