RFR: 8364305: Support AVX10 saturating floating point conversion instructions [v5]

Mohamed Issa missa at openjdk.org
Sat Sep 6 00:42:17 UTC 2025


On Thu, 4 Sep 2025 05:40:17 GMT, Jatin Bhateja <jbhateja at openjdk.org> wrote:

>> Mohamed Issa has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Add AVX 10.2 CPU feature flag to list of verified ones
>
> test/hotspot/jtreg/compiler/vectorapi/VectorFPtoIntCastTest.java line 90:
> 
>> 88:     @Test
>> 89:     @IR(counts = {IRNode.VECTOR_CAST_F2I, IRNode.VECTOR_SIZE_16, "> 0"},
>> 90:         applyIfCPUFeatureOr = {"avx512f", "true", "avx10_2", "true"})
> 
> You should check for target specific Machine IR which is selected on AVX10_2 targets.

New checks are added.

> test/hotspot/jtreg/compiler/vectorapi/VectorFPtoIntCastTest.java line 108:
> 
>> 106:     @Test
>> 107:     @IR(counts = {IRNode.VECTOR_CAST_F2L, IRNode.VECTOR_SIZE_8, "> 0"},
>> 108:         applyIfCPUFeatureOr = {"avx512dq", "true", "avx10_2", "true"})
> 
> avx10_2 is super set of AVX512DQ, we enable all AVX512 featurs during VM initialization and IRFrameWork rely on the same.

I updated the checks to account for this.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/26919#discussion_r2326312302
PR Review Comment: https://git.openjdk.org/jdk/pull/26919#discussion_r2326312430


More information about the hotspot-compiler-dev mailing list