[riscv-port] RFR: 8279292: riscv: Intrinsify multiplyToLen and squareToLen [v4]

guotaiping1 duke at openjdk.java.net
Tue Dec 28 03:24:42 UTC 2021


On Tue, 28 Dec 2021 01:32:08 GMT, Fei Yang <fyang at openjdk.org> wrote:

>> Feilong Jiang has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   recover deleted comment
>
> src/hotspot/cpu/riscv/macroAssembler_riscv.cpp line 3424:
> 
>> 3422:   const Register jdx = tmp1;
>> 3423: 
>> 3424:   // Check if x and y are both 8-byte aligned.
> 
> I think the code logic for avoiding unaligned access should be under control of option AvoidUnalignedAccesses.

The cod logic for avoiding unaligned access has been placed under the control of the AvoidUnalignedAccesses option, and the test cases related to BIgInteger are all passed when `-XX:-AvoidUnalignedAccesses` and `-XX:+AvoidUnalignedAccesses`. Thanks for your review!

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

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


More information about the riscv-port-dev mailing list