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

Feilong Jiang fjiang at openjdk.org
Fri Feb 21 13:34:52 UTC 2025


On Fri, 21 Feb 2025 06:36:52 GMT, Fei Yang <fyang at openjdk.org> wrote:

> Hi, please review this trivial change.
> The current assertion about the 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 relaxes the assersion removing the unneeded constraint.
> fastdebug builds OK with change.

Thanks!

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

Marked as reviewed by fjiang (Committer).

PR Review: https://git.openjdk.org/jdk/pull/23723#pullrequestreview-2633053466


More information about the hotspot-compiler-dev mailing list