[riscv-port] RFR: 8282328: riscv: Intrinsify bigIntegerRightShift
Taiping Guo
tguo at openjdk.java.net
Wed Mar 2 03:07:09 UTC 2022
BigInteger intrinsic: bigIntegerRightShift intrinsic is missed in current vm. It should be implemented.
Since that there is no hardware that supports rvv1.0 for now, I used test/jdk/java/math/BigInteger/ModPow.java testcase to compare the number of instructions executed with and without intrinsic. The number of instructions executed for the method shiftRightImplWorker compiled by C2 without intrinsic is about 8.6x ( vlen=256 ) that of version with intrinsic.
Full jtreg tests on qemu are passed without new failures.
-------------
Commit messages:
- remove extra space
- 8282328: riscv: Intrinsify bigIntegerRightShift
Changes: https://git.openjdk.java.net/riscv-port/pull/63/files
Webrev: https://webrevs.openjdk.java.net/?repo=riscv-port&pr=63&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8282328
Stats: 55 lines in 1 file changed: 55 ins; 0 del; 0 mod
Patch: https://git.openjdk.java.net/riscv-port/pull/63.diff
Fetch: git fetch https://git.openjdk.java.net/riscv-port pull/63/head:pull/63
PR: https://git.openjdk.java.net/riscv-port/pull/63
More information about the riscv-port-dev
mailing list