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

Robbin Ehn rehn at openjdk.org
Tue Dec 3 07:13:13 UTC 2024


> 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

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/22476/files
  - new: https://git.openjdk.org/jdk/pull/22476/files/bb43ec8f..4dd4077f

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=22476&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=22476&range=02-03

  Stats: 10 lines in 1 file changed: 0 ins; 0 del; 10 mod
  Patch: https://git.openjdk.org/jdk/pull/22476.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/22476/head:pull/22476

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


More information about the hotspot-dev mailing list