RFR: 8371920: [TEST] Enable CMove tests on other platforms [v2]

Hamlin Li mli at openjdk.org
Wed Dec 10 09:20:27 UTC 2025


On Wed, 10 Dec 2025 08:04:55 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

>> test/hotspot/jtreg/compiler/c2/cmove/TestFPComparison2.java line 34:
>> 
>>> 32:  * @summary The test is to trigger code path of BoolTest::ge/gt in C2_MacroAssembler::enc_cmove_cmp_fp
>>> 33:  * @requires vm.debug
>>> 34:  * @requires os.arch == "riscv64" | os.arch=="aarch64"
>> 
>> One minor question: Could this work for `x64` as well?
>
> Nice catch!

No, it does not. But I did not investigate further in this pr.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28702#discussion_r2605828181


More information about the hotspot-compiler-dev mailing list