[AVX10.2]Optimize codegen for x86 using the new saturating conversion instructions when possible. #109080
Labels
area-CodeGen-coreclr
CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
avx10
Related to the AVX10 architecture
Milestone
AVX10.2
introduces a set of saturating conversion instructions. These will allow us to further optimize the various floating point-> integer conversions. Specifically cases where we are currently handling edge cases with additional instructions. With these new instructions, we can accomplish this with just 1 instructionEg.
double
->ulong
This currently generates the following 2 instructions
The new Avx10.2 instructions are the following

The text was updated successfully, but these errors were encountered: