RFR: 8318217: RISC-V: C2 VectorizedHashCode [v2]

Fei Yang fyang at openjdk.org
Thu Nov 23 08:22:08 UTC 2023


On Mon, 20 Nov 2023 12:07:36 GMT, Yuri Gaevsky <duke at openjdk.org> wrote:

>> Sure, let me check .
>
> Done in [this commit](https://github.com/openjdk/jdk/pull/16629/commits/af940acd365677ec3c29a8f066b68b753ad362e4). I've tried the usage of iRegP/iRegI but that caused of the related failure (JVM even didn't start).

I guess it might be a performance consideration (maybe saving some register-register moves?). I see the x86_64 counterpart also specifies certain regsiters [1]. You might want give it try on x86_64 to find out how it may make a difference on the JIT code.

[1] https://github.com/openjdk/jdk/blob/master/src/hotspot/cpu/x86/x86_64.ad#L11225

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

PR Review Comment: https://git.openjdk.org/jdk/pull/16629#discussion_r1403030947


More information about the hotspot-dev mailing list