RFR: 8307513: C2: intrinsify Math.max(long,long) and Math.min(long,long) [v11]

Galder Zamarreño galder at openjdk.org
Tue Feb 18 09:24:18 UTC 2025


On Tue, 18 Feb 2025 08:43:38 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

> But let's discuss all of this in a call / offline :)

Yup.

> I ran the exact same test with longs and I don't see such an issue. The performance is always the same either with the intrisinc or disabling it as shown above.

For the equivalent long tests I think I made a mistake in the id of the disabled intrinsic, it should be `_maxL` and not `_max`. I will repeat the tests and post if any similar differences observed.

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

PR Comment: https://git.openjdk.org/jdk/pull/20098#issuecomment-2665045881


More information about the core-libs-dev mailing list