git: openjdk/jdk: master: 8307513: C2: intrinsify Math.max(long, long) and Math.min(long,long)

Galder Zamarreño galder at openjdk.org
Thu Mar 13 13:55:49 UTC 2025


Changeset: 4e51a8c9
Branch: master
Author:    Galder Zamarreño <galder at openjdk.org>
Date:      2025-03-13 13:53:54 +0000
URL:       https://git.openjdk.org/jdk/commit/4e51a8c9ad4e5345d05cf32ce1e82b7158f80e93

8307513: C2: intrinsify Math.max(long,long) and Math.min(long,long)

Reviewed-by: roland, epeter, chagedorn, darcy

! src/hotspot/share/classfile/vmIntrinsics.hpp
! src/hotspot/share/opto/c2compiler.cpp
! src/hotspot/share/opto/library_call.cpp
! src/hotspot/share/opto/library_call.hpp
! src/java.base/share/classes/java/lang/Math.java
! test/hotspot/jtreg/compiler/c2/irTests/TestMinMaxIdentities.java
+ test/hotspot/jtreg/compiler/intrinsics/math/TestMinMaxInlining.java
+ test/hotspot/jtreg/compiler/loopopts/superword/MinMaxRed_Long.java
+ test/micro/org/openjdk/bench/java/lang/MinMaxVector.java



More information about the jdk-changes mailing list