RFR: 8319184: RISC-V: improve MD5 intrinsic

Antonios Printezis tonyp at openjdk.org
Wed Nov 1 15:13:33 UTC 2023


Tweaks to the RISC-V MD5 intrinsic.

* do the loads from the buffer more incrementally instead of all in one go
* don't mask off the top 32 bits of a register before an addw instruction, as addw will ignore them anyway
* remove the rmask32 register, as the mask is not needed any more (only at the start / end and it's 
* cleanup some of the register usage

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

Commit messages:
 - 8319184: RISC-V: improve MD5 intrinsic

Changes: https://git.openjdk.org/jdk/pull/16453/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16453&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8319184
  Stats: 129 lines in 1 file changed: 16 ins; 5 del; 108 mod
  Patch: https://git.openjdk.org/jdk/pull/16453.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/16453/head:pull/16453

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


More information about the hotspot-compiler-dev mailing list