-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 26
-
Component/s: hotspot
-
b25
-
ppc
The test fails with the following output:
Failed IR Rules (1) of Methods (1)
----------------------------------
1) Method "public java.lang.Object[] compiler.vectorization.TestNumberOfContinuousZeros.testSpecialLongLeadingZeros(long[])" - [Failed IR rules: 1]:
* @IR rule 1: "@compiler.lib.ir_framework.IR(phase={DEFAULT}, applyIfPlatformAnd={}, applyIfCPUFeatureOr={}, counts={"_#V#COUNT_LEADING_ZEROS_VL#_", "> 0"}, applyIfPlatformOr={}, failOn={}, applyIfPlatform={}, applyIfOr={}, applyIfCPUFeatureAnd={}, applyIf={}, applyIfCPUFeature={}, applyIfAnd={}, applyIfNot={})"
> Phase "PrintIdeal":
- counts: Graph contains wrong number of nodes:
* Constraint 1: "(\\d+(\\s){2}(CountLeadingZerosV.*)+(\\s){2}===.*vector[A-Za-z]<J,2>)"
- Failed comparison: [found] 0 > 0 [given]
- No nodes matched!
The reason is that on PPC VectorCastL2X is not implemented for performance reasons. Like many vector instructions on PPC the performance for the long type variants is too bad.
The test needs to skip the IR matching on power.
Failed IR Rules (1) of Methods (1)
----------------------------------
1) Method "public java.lang.Object[] compiler.vectorization.TestNumberOfContinuousZeros.testSpecialLongLeadingZeros(long[])" - [Failed IR rules: 1]:
* @IR rule 1: "@compiler.lib.ir_framework.IR(phase={DEFAULT}, applyIfPlatformAnd={}, applyIfCPUFeatureOr={}, counts={"_#V#COUNT_LEADING_ZEROS_VL#_", "> 0"}, applyIfPlatformOr={}, failOn={}, applyIfPlatform={}, applyIfOr={}, applyIfCPUFeatureAnd={}, applyIf={}, applyIfCPUFeature={}, applyIfAnd={}, applyIfNot={})"
> Phase "PrintIdeal":
- counts: Graph contains wrong number of nodes:
* Constraint 1: "(\\d+(\\s){2}(CountLeadingZerosV.*)+(\\s){2}===.*vector[A-Za-z]<J,2>)"
- Failed comparison: [found] 0 > 0 [given]
- No nodes matched!
The reason is that on PPC VectorCastL2X is not implemented for performance reasons. Like many vector instructions on PPC the performance for the long type variants is too bad.
The test needs to skip the IR matching on power.
- caused by
-
JDK-8350468 x86: Improve implementation of vectorized numberOfLeadingZeros for int and long
-
- Resolved
-
- relates to
-
JDK-8352065 [PPC64] C2: Implement PopCountVL, CountLeadingZerosV and CountTrailingZerosV nodes
-
- Resolved
-
- links to
-
Commit(master)
openjdk/jdk/77381318
-
Review(master)
openjdk/jdk/28239