RFR: 8256267: Relax compiler/floatingpoint/NaNTest.java for x86_32 and lower -XX:+UseSSE [v2]

Aleksey Shipilev shade at openjdk.java.net
Tue Nov 17 07:12:07 UTC 2020


On Tue, 17 Nov 2020 00:42:20 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

> Why to run test code if you know the result will not match? Why not just skip testing?
> I thought about using `@requires vm.cpu.features` checks but your check in main() is simpler and more clear.

Yes, I thought about just skipping the test initially. But then I realized I would like to know how exactly the results do not match for the excluded cases.

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

PR: https://git.openjdk.java.net/jdk/pull/1187


More information about the hotspot-compiler-dev mailing list