RFR: 8375536: PPC64: Implement special MachNodes for floating point CMove [v5]
Richard Reingruber
rrich at openjdk.org
Thu Jan 29 17:51:10 UTC 2026
On Thu, 29 Jan 2026 16:03:46 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)));
>
> David Briemann has updated the pull request incrementally with one additional commit since the last revision:
>
> negating comparisons does not always work, invert results instead
Very nice and clean now. Thanks for putting the work into it.
Cheers, Richard.
-------------
Marked as reviewed by rrich (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/29281#pullrequestreview-3724178852
More information about the hotspot-compiler-dev
mailing list