On Wed, 29 Oct 2025 19:45:34 GMT, Ben Perez <[email protected]> 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