RFR: 8330094: RISC-V: Save and restore FCSR in the call stub

Fei Yang fyang at openjdk.org
Mon Apr 15 04:11:41 UTC 2024


On Fri, 12 Apr 2024 12:16:44 GMT, Hamlin Li <mli at openjdk.org> wrote:

> Hi,
> Can you help to review this patch?
> As discussed at https://github.com/openjdk/jdk/pull/17745#discussion_r1558783467, we should do the similar thing as [JDK-8319973](https://bugs.openjdk.org/browse/JDK-8319973) on aarch64.
> Thanks!
> 
> Tests running ...

Looks good. Thanks.
BTW: There is another path where FP control register could got clobbered is through JNI.
See: https://bugs.openjdk.org/browse/JDK-8320892. I think we might want to fix it for riscv too.

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

Marked as reviewed by fyang (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/18758#pullrequestreview-1999982333


More information about the hotspot-dev mailing list