RFR: 8355216: Accelerate P-256 arithmetic on aarch64 [v4]
Andrew Dinn
adinn at openjdk.org
Mon Jan 26 14:01:33 UTC 2026
On Mon, 26 Jan 2026 13:52:58 GMT, Andrew Dinn <adinn at openjdk.org> wrote:
>> src/hotspot/cpu/aarch64/stubGenerator_aarch64.cpp line 7933:
>>
>>> 7931: __ ldr(b9, Address(bLimbs, 64));
>>> 7932: __ ldr(b10, Address(bLimbs, 72));
>>> 7933:
>>
>> You could use the existing macro generator method `vs_ldpq` to plant these load instructions
>>
>> vs_ldpq(a_vec, aLimbs);
>
> Alternatively, if you need to fold in a fixed initial offset plus a suitable step then use `vs_ldpq_indexed`
n.b. Note that you can use `vs_even(a_vec)` and `vs_odd(a_vec)` to select vector subsequences `a_vec[0]` and `a_vec[2]` or `a_vec[1]` and `a_vec[3]` respectively. Likewise, there is `vs_front` and `vs_back` to select the first and second halves of the vector sequence.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27946#discussion_r2727712970
More information about the security-dev
mailing list