RFR: 8350835: C2 SuperWord: assert/wrong result when using Float.float16ToFloat with byte instead of short input [v2]

Jatin Bhateja jbhateja at openjdk.org
Wed Mar 12 03:34:54 UTC 2025


On Mon, 10 Mar 2025 21:32:04 GMT, Sandhya Viswanathan <sviswanathan at openjdk.org> wrote:

>> test/hotspot/jtreg/compiler/vectorization/TestFloat16ToFloatConv.java line 71:
>> 
>>> 69:     }
>>> 70: 
>>> 71:     @Test
>> 
>> Suggestion:
>> 
>>     @Test
>>     @IR(counts = { IRNode.VECTOR_CAST_HF2F, " >0 " }, applyIfCPUFeatureOr = { "avx512vl", "true", "f16c", "true" })
>
> Used the IR test from compiler/vectorization/TestFloatConversionsVector.java to include other architectures as well.

Thanks @sviswa7 , these operations are also supported on PPC.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23939#discussion_r1990492821


More information about the hotspot-compiler-dev mailing list