RFR: 8327964: Simplify BigInteger.implMultiplyToLen intrinsic [v6]

Dean Long dlong at openjdk.org
Wed May 22 20:09:07 UTC 2024


On Wed, 22 May 2024 14:28:41 GMT, Yudi Zheng <yzheng at openjdk.org> wrote:

>> src/hotspot/cpu/aarch64/stubGenerator_aarch64.cpp line 4693:
>> 
>>> 4691:     const Register xlen  = r1;
>>> 4692:     const Register z     = r2;
>>> 4693:     const Register zlen  = r3;
>> 
>> LibraryCallKit::inline_squareToLen() is still computing zlen and passing it as the 4th arg, even though the value is unused.
>
> ppc x86 are not using `multiply_to_len` for `generate_squareToLen`. I think we still need to pass zlen for these platforms.

OK.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/18226#discussion_r1610580527


More information about the core-libs-dev mailing list