RFR: 8322195: RISC-V: Minor improvement of MD5 instrinsic

Hamlin Li mli at openjdk.org
Fri Dec 15 16:30:40 UTC 2023


On Fri, 15 Dec 2023 15:52:40 GMT, Ludovic Henry <luhenry at openjdk.org> wrote:

> I am assuming we cannot rework the store side with the same idea because of sign-extension?

Correct, for the store side, some code like `__ andr(state0, state0, t0);` is necessary because the upper 32 bits of state0 is not guaranteed to be zero, which is because of sign-extension introduced via `__ addw(state0, state0, a);` at the end of every block calculation.

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

PR Comment: https://git.openjdk.org/jdk/pull/17123#issuecomment-1858146162


More information about the hotspot-compiler-dev mailing list