[riscv-port] RFR: 8281967: riscv: Intrinsify bigIntegerLeftShift [v2]

Taiping Guo tguo at openjdk.java.net
Tue Mar 1 01:46:38 UTC 2022


On Mon, 28 Feb 2022 11:11:37 GMT, Yanhong Zhu <yzhu at openjdk.org> wrote:

>> Taiping Guo has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   call shadd for shift+add
>
> src/hotspot/cpu/riscv/stubGenerator_riscv.cpp line 2898:
> 
>> 2896:     __ vse32_v(v0, newArr);
>> 2897:     __ sub(numIter, numIter, t0);
>> 2898:     if (UseRVB) {
> 
> Why not call `shadd` here like above?

Thanks for your review. Call `shadd` by pass `t1` as the temp register.

All BIgInteger testcases have already passed.

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

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


More information about the riscv-port-dev mailing list