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

Robbin Ehn rehn at openjdk.org
Fri Apr 12 13:07:54 UTC 2024


Hi please consider!

jal do not have C switch, we always use the full length instructions.
But jalr have, in case of an unbound Label which is to far for jal we can emit c_jalr.
When we bind the Label we can't patch the c_jalr.

Sanity tested.

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

Commit messages:
 - Use IncompressibleRegion

Changes: https://git.openjdk.org/jdk/pull/18761/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18761&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8330161
  Stats: 2 lines in 1 file changed: 2 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/18761.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18761/head:pull/18761

PR: https://git.openjdk.org/jdk/pull/18761


More information about the hotspot-dev mailing list