RFR: 8324655: Identify integer minimum and maximum patterns created with if statements [v2]
Quan Anh Mai
qamai at openjdk.org
Sun Feb 11 07:08:04 UTC 2024
On Wed, 7 Feb 2024 09:30:37 GMT, Emanuel Peter <epeter at openjdk.org> wrote:
> Maybe it would be nice if the min/max nodes had some internal probability, so that the backend could decide again in what circumstances it is profitable to turn it into a cmove, or max, or even branch?
I think this will be applicable to the general `CMove`, too. It may simplify the control flow, enable more aggressive vectorisation without compromising the cases where `CMove` is predictable.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17574#issuecomment-1937454994
More information about the hotspot-compiler-dev
mailing list