RFR: 8371968: RISC-V: implement AES CBC intrinsics [v3]
Anjian Wen
wenanjian at openjdk.org
Tue Dec 9 02:27:34 UTC 2025
On Mon, 8 Dec 2025 01:17:35 GMT, Fei Yang <fyang at openjdk.org> wrote:
>> Anjian Wen has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains two commits:
>>
>> - Modify some assert
>> - RISC-V: implement AES CBC intrinsics
>
> src/hotspot/cpu/riscv/stubGenerator_riscv.cpp line 2786:
>
>> 2784: __ mv(x10, input_len);
>> 2785: __ leave();
>> 2786: __ ret();
>
> Since the three cases here duplicate most of the code, seems better to introduce subroutine to simply the code. I think that will be similar as what you do for the CTR AES intrinsic where we have this subroutine `counterMode_AESCrypt` which is called by `generate_counterMode_AESCrypt`.
Thanks, that's a good idea, done!
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/28320#discussion_r2600830270
More information about the hotspot-compiler-dev
mailing list