RFR: 8345179: RISC-V: Add gtests for weak cmpxchg [v4]

Fei Yang fyang at openjdk.org
Tue Dec 3 07:27:42 UTC 2024


On Tue, 3 Dec 2024 07:13:13 GMT, Robbin Ehn <rehn at openjdk.org> wrote:

>> Hi, please consider.
>> 
>> This adds tests of aligned weak narrow cmpxchg.
>> 
>> [ RUN      ] RiscV.cmpxchg_weak_int16_lr_sc_vm
>> [       OK ] RiscV.cmpxchg_weak_int16_lr_sc_vm (2 ms)
>> [ RUN      ] RiscV.cmpxchg_weak_int8_lr_sc_vm
>> [       OK ] RiscV.cmpxchg_weak_int8_lr_sc_vm (0 ms)
>> [ RUN      ] RiscV.cmpxchg_weak_int16_maybe_zacas_vm
>> [       OK ] RiscV.cmpxchg_weak_int16_maybe_zacas_vm (0 ms)
>> [ RUN      ] RiscV.cmpxchg_weak_int8_maybe_zacas_vm
>> [       OK ] RiscV.cmpxchg_weak_int8_maybe_zacas_vm (0 ms)
>> [----------] 4 tests from RiscV (20997 ms total)
>> 
>> Executed with -XX:+UnlockExperimentalVMOptions -XX:+UseZacas
>> 
>> Thanks, Robbin
>
> Robbin Ehn has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Review comment

Thanks for the update. BTW: You need to fix the trailing whitespace issue reported by jcheck.

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

Marked as reviewed by fyang (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/22476#pullrequestreview-2474778315


More information about the hotspot-dev mailing list