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

Robbin Ehn rehn at openjdk.org
Thu Apr 18 14:19:29 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 two additional commits since the last revision:

 - Added comment
 - Rename

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/18755/files
  - new: https://git.openjdk.org/jdk/pull/18755/files/b331b8af..de72bf9a

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

  Stats: 8 lines in 2 files changed: 2 ins; 0 del; 6 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