RFR: 8355216: Accelerate P-256 arithmetic on aarch64 [v2]

Andrew Haley aph at openjdk.org
Tue Dec 2 10:07:41 UTC 2025


On Mon, 1 Dec 2025 22:19:09 GMT, Ben Perez <bperez at openjdk.org> wrote:

>> An aarch64 implementation of the `MontgomeryIntegerPolynomial256.mult()` method
>
> Ben Perez has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Fixed typo

src/hotspot/cpu/aarch64/assembler_aarch64.hpp line 3162:

> 3160:     int l = (size == 0b01) ? ((lane >> 1) & 1) : (lane & 1);
> 3161:     int m = lane & 1;
> 3162:     assert((size == 0b10 ? lane < 4 : lane < 7));

Why `lane < 7`?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27946#discussion_r2580486240


More information about the hotspot-dev mailing list