[riscv-port] Integrated: 8282328: riscv: Intrinsify bigIntegerRightShift

Taiping Guo tguo at openjdk.java.net
Wed Mar 2 03:41:35 UTC 2022


On Wed, 2 Mar 2022 03:00:07 GMT, Taiping Guo <tguo at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: 097b7478
Author:    Taiping Guo <tguo at openjdk.org>
Committer: Yanhong Zhu <yzhu at openjdk.org>
URL:       https://git.openjdk.java.net/riscv-port/commit/097b74783e959a8a97f75737dabf6f0da36c31e5
Stats:     55 lines in 1 file changed: 55 ins; 0 del; 0 mod

8282328: riscv: Intrinsify bigIntegerRightShift

Reviewed-by: yzhu, fyang

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

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


More information about the riscv-port-dev mailing list