RFR: 8334999: RISC-V: implement AES single block encryption/decryption intrinsics [v10]

Arseny Bochkarev duke at openjdk.org
Thu Oct 24 21:55:18 UTC 2024


> Hello everyone! Please review this port of vector AES single block encryption/decryption intrinsics. On my QEMU with `Zvkned` extension enabled the `test/hotspot/jtreg/compiler/codegen/aes/TestAESMain.java` test is OK. I know that currently hardware implementing this extension is not available on the market but I suppose this PR can be a good starting point on supporting AES intrinsics for RISC-V in OpenJDK.

Arseny Bochkarev has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 17 commits:

 - Replace RISCV64 -> riscv64 in comment
 - Minor renaming of labels and reg_number
 - Use RISCV64 instead of RISCV
 - Fixed comment line
 - Rename reg_number -> rounds in aes_loadkeys
 - Fix typo
 - Use same keys for encryption and decryption
 - Multiversion decrypt intrinsic
 - Use one L_end for all AES key sizes
 - Multiversion encryption depending on keylen
 - ... and 7 more: https://git.openjdk.org/jdk/compare/d1540e2a...e90b0d05

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

Changes: https://git.openjdk.org/jdk/pull/19960/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=19960&range=09
  Stats: 203 lines in 4 files changed: 190 ins; 11 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/19960.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/19960/head:pull/19960

PR: https://git.openjdk.org/jdk/pull/19960


More information about the hotspot-dev mailing list