RFR: 8350480: RISC-V: Relax assertion about registers in C2_MacroAssembler::minmax_fp

Fei Yang fyang at openjdk.org
Fri Feb 21 06:43:23 UTC 2025


Hi, please review this trivial change.
The current assersion about input registers is more than needed.
It requires that `dst`, `src1` and `src2` must be different from each other.
But the code only required that `dst` must be different from `src1` and `src2`.
Patch simply relaxed the assersion removing the unneeded constraint.

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

Commit messages:
 - 8350480: RISC-V: Relax assertion about registers in C2_MacroAssembler::minmax_fp

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

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


More information about the hotspot-compiler-dev mailing list