RFR: 8330266: RISC-V: Restore frm to RoundingMode::rne after JNI [v2]

Hamlin Li mli at openjdk.org
Tue Apr 16 07:58:59 UTC 2024


On Tue, 16 Apr 2024 07:19:36 GMT, Vladimir Kempik <vkempik at openjdk.org> wrote:

>> It's done by following reasons:
>> 1. by the optimization guide, https://riscv-optimization-guide.riseproject.dev/#_controlling_rounding_behavior_scalar.
>> 2. aarch64 apply the similar optimization.
>> 
>> Please also check discussion at: https://github.com/openjdk/jdk/pull/18758
>
> Thanks for the links, however there are no performance claims in that discussion, only few "maybes" for "some hardware", can we check on existing h/w ( c910, u74) ? with jmh test doing dummy jni calls ?

Thanks for the suggesion.
c910 might be suitable for this kind test (u74 is in order, so not?), but I don't have the hardware now.
If anyone happens to have it and can help test it that would be helpful.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/18785#discussion_r1566897616


More information about the hotspot-dev mailing list