RFR: 8330161: RISC-V: Don't use C for Labels jumps

Robbin Ehn rehn at openjdk.org
Mon Apr 15 10:13:40 UTC 2024


On Mon, 15 Apr 2024 07:54:46 GMT, Fei Yang <fyang at openjdk.org> wrote:

>> Those two plain jal don't use Labels, so they are unaffected.
>> 
>> In this case, instead of turn off C we have no C switch for jal.
>> So we don't have one approach. Turn off C would be inline with what you are saying.
>
> BTW: Is `c_jal` usable for us? The RISC-V spec say: " C.JAL is an RV32C-only instruction "

Sorry I was talking about C.J. As that is the one which maps to JAL uncond jumps. (x0)
It's not used at all as it is now.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/18761#discussion_r1565529275


More information about the hotspot-dev mailing list