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

ArsenyBochkarev duke at openjdk.org
Sun Jul 7 15:16:02 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.

ArsenyBochkarev has updated the pull request incrementally with three additional commits since the last revision:

 - Use t2 directly instead of temp2
 - Rename temp1 -> x0
 - Left a note on a side effect of generate_vle32_pack4

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/19960/files
  - new: https://git.openjdk.org/jdk/pull/19960/files/02dc4e29..9f5c7831

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=19960&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=19960&range=00-01

  Stats: 20 lines in 1 file changed: 6 ins; 4 del; 10 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