RFR: 8365732: RISC-V: implement AES CTR intrinsics [v29]
Anjian Wen
wenanjian at openjdk.org
Wed Dec 3 11:01:58 UTC 2025
On Wed, 3 Dec 2025 10:26:16 GMT, Anjian Wen <wenanjian at openjdk.org> wrote:
>> is riscv assembly a migration from aarch64?
>
> I mainly follow the AES standard algorithm, but I did refer to the implementation of AArch64. I'm not sure if it can be described with migration.
In addition, there is a difference compared with aarch64. the Algorithm in aarch64 has an extra large block optimization branch. it calculate 4 blocks in one loop, which seems to make the code more cache friendly, but add more control flow and use more vector register. I think maybe we can do this kind of optimization when we can test on a real machine later ? I just support the standard algorithm currently.
> is riscv assembly a migration from aarch64?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/25281#discussion_r2584647886
More information about the hotspot-compiler-dev
mailing list