RFR: 8355216: Accelerate P-256 arithmetic on aarch64 [v5]
Ferenc Rakoczi
duke at openjdk.org
Thu Feb 5 13:55:58 UTC 2026
On Wed, 29 Oct 2025 19:45:34 GMT, Ben Perez <bperez at openjdk.org> wrote:
>> src/hotspot/cpu/aarch64/stubGenerator_aarch64.cpp line 7144:
>>
>>> 7142:
>>> 7143: address generate_intpoly_montgomeryMult_P256() {
>>> 7144:
>>
>> As a general point, it would help everyone if you provided pseudocode for the whole thing.
>
> Happy to add pseudocode but it will be quite long and almost identical to what is already in `MontgomeryIntegerPolynomial256.mult()` except mine uses a loop instead of unrolling the whole thing
You can put that in a comment here, something like:
"This assembly code follows the Java code in MontgomeryIntegerPolynomial256.mult() quite closely."
(and maybe point out the differences).
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27946#discussion_r2768508832
More information about the hotspot-dev
mailing list