[riscv-port] Integrated: 8281967: riscv: Intrinsify bigIntegerLeftShift

Taiping Guo tguo at openjdk.java.net
Wed Mar 2 01:26:27 UTC 2022


On Mon, 28 Feb 2022 10:30:23 GMT, Taiping Guo <tguo at openjdk.org> wrote:

> BigInteger intrinsic: bigIntegerLeftShift 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 `shiftLeftImplWorker` compiled by C2 without intrinsic is about 9.2x ( vlen=256 ) that of version with intrinsic.
> 
> Full jtreg tests on qemu are passed without new failures.

This pull request has now been integrated.

Changeset: eb7171fe
Author:    Taiping Guo <tguo at openjdk.org>
Committer: Yanhong Zhu <yzhu at openjdk.org>
URL:       https://git.openjdk.java.net/riscv-port/commit/eb7171fee5e2e144c3618667217fc256ae769b30
Stats:     62 lines in 3 files changed: 60 ins; 0 del; 2 mod

8281967: riscv: Intrinsify bigIntegerLeftShift

Reviewed-by: fyang, yzhu

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

PR: https://git.openjdk.java.net/riscv-port/pull/61


More information about the riscv-port-dev mailing list