RFR: 8365732: RISC-V: implement AES CTR intrinsics [v26]

Hamlin Li mli at openjdk.org
Tue Nov 18 15:13:47 UTC 2025


On Thu, 13 Nov 2025 07:12:38 GMT, Anjian Wen <wenanjian at openjdk.org> wrote:

>> Hi everyone, please help review this patch which Implement the _counterMode_AESCrypt with Zvkned. On my QEMU, with Zvkned extension enabled, the tests in test/hotspot/jtreg/compiler/codegen/aes/ Passed.
>
> Anjian Wen has updated the pull request incrementally with one additional commit since the last revision:
> 
>   modify stub_id name

src/hotspot/cpu/riscv/stubGenerator_riscv.cpp line 2651:

> 2649:   address generate_counterMode_AESCrypt() {
> 2650:     assert(UseAESCTRIntrinsics, "need AES instructions (Zvkned extension) support");
> 2651:     assert(UseZbb, "need basic bit manipulation (Zbb extension) support");

also needs an `assert(UseZvkn, "");`?

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/25281#discussion_r2538578641


More information about the hotspot-compiler-dev mailing list