RFR: 8373998: RISC-V: simple optimization of ConvHF2F

Hamlin Li mli at openjdk.org
Thu Dec 18 11:54:59 UTC 2025


Hi,
Can you help to review this patch?

ConvHF2F could be optimized by following patch.
As riscv does not have the restriction to use `iRegINoSp` in src register, it can use iRegIorL2I instead.
Check other usages of src register in riscv.ad file.

@RealFYang Thanks!

Thanks!

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

Commit messages:
 - initial commit

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

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


More information about the hotspot-compiler-dev mailing list