RFR: 8375536: PPC64: Implement special MachNodes for floating point CMove

Martin Doerr mdoerr at openjdk.org
Mon Jan 19 10:54:27 UTC 2026


On Fri, 16 Jan 2026 13:56:13 GMT, David Briemann <dbriemann at openjdk.org> wrote:

> Adds the following mach nodes:
> match(Set dst (CMoveF (Binary cop (CmpF op1 op2)) (Binary src1 src2)));
> match(Set dst (CMoveD (Binary cop (CmpD op1 op2)) (Binary src1 src2)));
> match(Set dst (CMoveF (Binary cop (CmpD op1 op2)) (Binary src1 src2)));
> match(Set dst (CMoveD (Binary cop (CmpF op1 op2)) (Binary src1 src2)));

You could also remove the "// Worst case is branch + move + stop, no stop without scheduler." comments.

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

PR Comment: https://git.openjdk.org/jdk/pull/29281#issuecomment-3767694320


More information about the hotspot-compiler-dev mailing list