-
Type:
Enhancement
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 19, 20
-
Component/s: hotspot
-
b07
-
generic
-
generic
Math.min/max operations are not auto-vectorized by default for integers.
C2 generates the cmp-csel instructions for Math.min/max but they can be auto-vectorized to generate the smin/smax instructions on aarch64, vpmaxsd/vpminsd on x86.
C2 generates the cmp-csel instructions for Math.min/max but they can be auto-vectorized to generate the smin/smax instructions on aarch64, vpmaxsd/vpminsd on x86.
- relates to
-
JDK-8290730 compiler/vectorization/TestAutoVecIntMinMax.java failed with "IRViolationException: There were one or multiple IR rule failures."
-
- Closed
-
-
JDK-8294816 C2: Math.min/max vectorization miscompilation
-
- Closed
-
-
JDK-8290248 Implement MaxINode::Ideal transformation
-
- Resolved
-