RFR: 8352607: RISC-V: use cmove in min/max when Zicond is supported

Hamlin Li mli at openjdk.org
Fri Mar 21 13:05:19 UTC 2025


Hi,
Can you help to review this patch?
We can let min/max to use cmove if Zicond is supported rather than a branch.
At this same time, this patch also simplify the code of min/max.

Thanks!

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

Commit messages:
 - initial commit

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

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


More information about the hotspot-compiler-dev mailing list