RFR: 8318227: RISC-V: C2 ConvHF2F [v2]

Hamlin Li mli at openjdk.org
Mon Nov 27 13:29:33 UTC 2023


On Sat, 25 Nov 2023 02:22:02 GMT, Quan Anh Mai <qamai at openjdk.org> wrote:

>> You can take a look at x86 implementation of ConvF2I node which takes advantages of a general stub mechanism in C2.
>
> https://github.com/openjdk/jdk/blob/6aa197667ad05bd93adf3afc7b06adbfb2b18a22/src/hotspot/cpu/x86/c2_MacroAssembler_x86.cpp#L4307
> 
> Note that the stub will still reside in the code section of the current method, is a trampoline needed in that case?

Thanks for pointing to the location!

It DOES bring better performance. Please check the pr description for detailed data.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/16802#discussion_r1406153790


More information about the hotspot-dev mailing list