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

Hamlin Li mli at openjdk.org
Wed Dec 4 09:16:41 UTC 2024


On Wed, 4 Dec 2024 08:21:24 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 with a new target base due to a merge or a rebase. The pull request now contains six commits:
> 
>  - Merge branch 'master' into weak_narrow
>  - Fixed WS
>  - Review comment
>  - Added weak 4/8 byte cmpxchg
>  - Merge branch 'master' into weak_narrow
>  - gtest weak narrow cmpxchg

Thanks for updating, looks good.

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

Marked as reviewed by mli (Reviewer).

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


More information about the hotspot-dev mailing list