RFR: 8373682: Test compiler/loopopts/superword/TestReinterpretAndCast.java fails on x86_64 with AVX but without f16c

Joel Sikström jsikstro at openjdk.org
Tue Dec 16 20:05:12 UTC 2025


On Tue, 16 Dec 2025 17:45:43 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

> The IR rules of the test failed because we expected that `VectorCastF2HF` and `VectorCastHF2F` are available on `AVX`, but actually we need `f16c`. On Sandy Bridge we have `AVX` but not `f16c`, so the IR rules fail on those machines.
> 
> Solution: require `f16c` feature.

Although this is not my area, the change looks good and does fix the test failure on my Sandy Bridge machine. Thank you!

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

Marked as reviewed by jsikstro (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/28852#pullrequestreview-3584741801


More information about the hotspot-compiler-dev mailing list