Integrated: 8345179: RISC-V: Add gtests for weak cmpxchg

Robbin Ehn rehn at openjdk.org
Thu Dec 5 07:27:42 UTC 2024


On Mon, 2 Dec 2024 10:46:09 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

This pull request has now been integrated.

Changeset: 2331782c
Author:    Robbin Ehn <rehn at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/2331782cf713e2db6d65b490c52c4de0a6555dca
Stats:     129 lines in 1 file changed: 129 ins; 0 del; 0 mod

8345179: RISC-V: Add gtests for weak cmpxchg

Reviewed-by: fyang, mli

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

PR: https://git.openjdk.org/jdk/pull/22476


More information about the hotspot-dev mailing list