Integrated: 8345178: RISC-V: Add gtests for narrow cmpxchg

Robbin Ehn rehn at openjdk.org
Wed Dec 4 07:56:44 UTC 2024


On Thu, 28 Nov 2024 15:58:15 GMT, Robbin Ehn <rehn at openjdk.org> wrote:

> Hi, please consider.
> 
> This adds tests of aligned narrow cmpxchg.
> 
> 
> Note: Google Test filter = *RiscV*
> [==========] Running 5 tests from 1 test suite.
> [----------] Global test environment set-up.
> [----------] 5 tests from RiscV
> ...
> [ RUN      ] RiscV.cmpxchg_int16_lr_sc_vm
> [       OK ] RiscV.cmpxchg_int16_lr_sc_vm (2 ms)
> [ RUN      ] RiscV.cmpxchg_int8_lr_sc_vm
> [       OK ] RiscV.cmpxchg_int8_lr_sc_vm (1 ms)
> [ RUN      ] RiscV.cmpxchg_int16_maybe_zacas_vm
> [       OK ] RiscV.cmpxchg_int16_maybe_zacas_vm (1 ms)
> [ RUN      ] RiscV.cmpxchg_int8_maybe_zacas_vm
> [       OK ] RiscV.cmpxchg_int8_maybe_zacas_vm (1 ms)
> [----------] 5 tests from RiscV (20831 ms total)
> 
> [----------] Global test environment tear-down
> [==========] 5 tests from 1 test suite ran. (20834 ms total)
> [  PASSED  ] 5 tests.
> 
> 
> Executed with -XX:+UnlockExperimentalVMOptions -XX:+UseZacas
> 
> Thanks, Robbin

This pull request has now been integrated.

Changeset: 9e2b66fb
Author:    Robbin Ehn <rehn at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/9e2b66fb0f2b86d2c70b8ec5cce2eab123c7a9c1
Stats:     81 lines in 1 file changed: 81 ins; 0 del; 0 mod

8345178: RISC-V: Add gtests for narrow cmpxchg

Reviewed-by: fyang, mli

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

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


More information about the hotspot-dev mailing list