Integrated: 8345177: RISC-V: Add gtests for cmpxchg
Robbin Ehn
rehn at openjdk.org
Mon Dec 2 13:17:41 UTC 2024
On Thu, 28 Nov 2024 12:30:12 GMT, Robbin Ehn <rehn at openjdk.org> wrote:
> Hi, please consider.
>
> This adds tests to some of the base cases.
> Focusing on the cases when we pass in same register in some of the argument. (variant 0,1,2,3)
>
> Note: Google Test filter = *RiscV.cmpxchg*
> [==========] Running 4 tests from 1 test suite.
> [----------] Global test environment set-up.
> [----------] 4 tests from RiscV
> [ RUN ] RiscV.cmpxchg_int64_plain_lr_sc_vm
> [ OK ] RiscV.cmpxchg_int64_plain_lr_sc_vm (2 ms)
> [ RUN ] RiscV.cmpxchg_int64_plain_maybe_zacas_vm
> [ OK ] RiscV.cmpxchg_int64_plain_maybe_zacas_vm (0 ms)
> [ RUN ] RiscV.cmpxchg_int32_plain_lr_sc_vm
> [ OK ] RiscV.cmpxchg_int32_plain_lr_sc_vm (0 ms)
> [ RUN ] RiscV.cmpxchg_int32_plain_maybe_zacas_vm
> [ OK ] RiscV.cmpxchg_int32_plain_maybe_zacas_vm (0 ms)
> [----------] 4 tests from RiscV (20806 ms total)
>
> [----------] Global test environment tear-down
> [==========] 4 tests from 1 test suite ran. (20809 ms total)
> [ PASSED ] 4 tests.
>
>
> Executed with `-XX:+UnlockExperimentalVMOptions -XX:+UseZacas`
>
> Thanks, Robbin
This pull request has now been integrated.
Changeset: 9a48e4d9
Author: Robbin Ehn <rehn at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/9a48e4d9d2637bf152d6611061a0a0a195cc2caf
Stats: 157 lines in 1 file changed: 155 ins; 1 del; 1 mod
8345177: RISC-V: Add gtests for cmpxchg
Reviewed-by: fyang, mli
-------------
PR: https://git.openjdk.org/jdk/pull/22437
More information about the hotspot-dev
mailing list