RFR: 8368861: [TEST] compiler/floatingpoint/ScalarFPtoIntCastTest.java expects x86 IR on non-x86 platforms

Richard Reingruber rrich at openjdk.org
Tue Sep 30 13:12:07 UTC 2025


On Mon, 29 Sep 2025 12:31:22 GMT, Richard Reingruber <rrich at openjdk.org> wrote:

> This removes X86 specific IR checks that are applied if the X86 specific feature *avx10_2* is not present.
> 
> We could make the checks dependent on the platform being X86 if we wanted to keep them but I don't see a value in doing so.
> 
> Tested on X86 and PPC64

Thanks for looking at the pr.

> Quite frankly, I would much prefer, if you kept the IR rules and added the x86 platform predicate, as in my suggestion below. It is just a bit more coverage we will exercise in out test suite.

No problem, I can do that. But why do you prefer it? Just asking out of curiosity.

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

PR Comment: https://git.openjdk.org/jdk/pull/27546#issuecomment-3352063974


More information about the hotspot-compiler-dev mailing list