RFR: 8330156: RISC-V: Range check auipc + signed 12 imm instruction [v2]

Robbin Ehn rehn at openjdk.org
Mon Apr 15 07:47:05 UTC 2024


> Hi please consider!
> 
> Today we check if the distance is a signed 32.
> As the second instruction have sign bit + 11 bits the, max of such pair is shorter.
> 
> Sanity tested

Robbin Ehn has updated the pull request incrementally with one additional commit since the last revision:

  Correct calc

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/18755/files
  - new: https://git.openjdk.org/jdk/pull/18755/files/5308f81c..c65c2dbd

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=18755&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=18755&range=00-01

  Stats: 3 lines in 1 file changed: 0 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/18755.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18755/head:pull/18755

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


More information about the hotspot-dev mailing list