RFR: 8295282: Use Zicboz/cbo.zero to zero-out memory on RISC-V [v9]
Ludovic Henry
luhenry at openjdk.org
Fri Oct 21 14:52:13 UTC 2022
> Similarly to AArch64 DC.ZVA, the RISC-V Zicboz [1] extension provides the cbo.zero [2] instruction that allows to zero out memory a cache-line at a time. This should be faster than storing zeroes 64bits at a time.
>
> [1] https://github.com/riscv/riscv-CMOs
> [2] https://github.com/riscv/riscv-CMOs/blob/master/cmobase/Zicboz.adoc#insns-cbo_zero
Ludovic Henry has updated the pull request incrementally with one additional commit since the last revision:
Make use of RVA22U64 profile and Zic64b extension to guide CacheLineSize value
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/10718/files
- new: https://git.openjdk.org/jdk/pull/10718/files/965a0e0d..52047b6a
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=10718&range=08
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=10718&range=07-08
Stats: 50 lines in 2 files changed: 45 ins; 5 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/10718.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/10718/head:pull/10718
PR: https://git.openjdk.org/jdk/pull/10718
More information about the hotspot-dev
mailing list