-
Bug
-
Resolution: Fixed
-
P4
-
20
-
b09
This configuration fails:
$ CONF=linux-x86-server-fastdebug make test TEST=compiler/c2/irTests/TestAutoVectorization2DArray.java TEST_VM_OPTS="-XX:UseAVX=0 -XX:UseSSE=0"
Failed IR Rules (3) of Methods (1)
----------------------------------
1) Method "private static void compiler.c2.irTests.TestAutoVectorization2DArray.testDouble(double[][],double[][],double[][])" - [Failed IR rules: 3]:
* @IR rule 1: "@compiler.lib.ir_framework.IR(applyIfCPUFeatureAnd={}, applyIf={}, applyIfCPUFeatureOr={}, applyIfCPUFeature={}, counts={"(\\d+(\\s){2}(LoadVector.*)+(\\s){2}===.*)", " >0 "}, failOn={}, applyIfAnd={}, applyIfOr={}, applyIfNot={})"
- counts: Graph contains wrong number of nodes:
* Regex 1: (\d+(\s){2}(LoadVector.*)+(\s){2}===.*)
- Failed comparison: [found] 0 > 0 [given]
- No nodes matched!
* @IR rule 2: "@compiler.lib.ir_framework.IR(applyIfCPUFeatureAnd={}, applyIf={}, applyIfCPUFeatureOr={}, applyIfCPUFeature={}, counts={"(\\d+(\\s){2}(AddVD.*)+(\\s){2}===.*)", " >0 "}, failOn={}, applyIfAnd={}, applyIfOr={}, applyIfNot={})"
- counts: Graph contains wrong number of nodes:
* Regex 1: (\d+(\s){2}(AddVD.*)+(\s){2}===.*)
- Failed comparison: [found] 0 > 0 [given]
- No nodes matched!
* @IR rule 3: "@compiler.lib.ir_framework.IR(applyIfCPUFeatureAnd={}, applyIf={}, applyIfCPUFeatureOr={}, applyIfCPUFeature={}, counts={"(\\d+(\\s){2}(StoreVector.*)+(\\s){2}===.*)", " >0 "}, failOn={}, applyIfAnd={}, applyIfOr={}, applyIfNot={})"
- counts: Graph contains wrong number of nodes:
* Regex 1: (\d+(\s){2}(StoreVector.*)+(\s){2}===.*)
- Failed comparison: [found] 0 > 0 [given]
- No nodes matched!
Bisect points toJDK-8289801, which whitelisted the UseSSE/UseAVX flags, but missed update in the test.
$ CONF=linux-x86-server-fastdebug make test TEST=compiler/c2/irTests/TestAutoVectorization2DArray.java TEST_VM_OPTS="-XX:UseAVX=0 -XX:UseSSE=0"
Failed IR Rules (3) of Methods (1)
----------------------------------
1) Method "private static void compiler.c2.irTests.TestAutoVectorization2DArray.testDouble(double[][],double[][],double[][])" - [Failed IR rules: 3]:
* @IR rule 1: "@compiler.lib.ir_framework.IR(applyIfCPUFeatureAnd={}, applyIf={}, applyIfCPUFeatureOr={}, applyIfCPUFeature={}, counts={"(\\d+(\\s){2}(LoadVector.*)+(\\s){2}===.*)", " >0 "}, failOn={}, applyIfAnd={}, applyIfOr={}, applyIfNot={})"
- counts: Graph contains wrong number of nodes:
* Regex 1: (\d+(\s){2}(LoadVector.*)+(\s){2}===.*)
- Failed comparison: [found] 0 > 0 [given]
- No nodes matched!
* @IR rule 2: "@compiler.lib.ir_framework.IR(applyIfCPUFeatureAnd={}, applyIf={}, applyIfCPUFeatureOr={}, applyIfCPUFeature={}, counts={"(\\d+(\\s){2}(AddVD.*)+(\\s){2}===.*)", " >0 "}, failOn={}, applyIfAnd={}, applyIfOr={}, applyIfNot={})"
- counts: Graph contains wrong number of nodes:
* Regex 1: (\d+(\s){2}(AddVD.*)+(\s){2}===.*)
- Failed comparison: [found] 0 > 0 [given]
- No nodes matched!
* @IR rule 3: "@compiler.lib.ir_framework.IR(applyIfCPUFeatureAnd={}, applyIf={}, applyIfCPUFeatureOr={}, applyIfCPUFeature={}, counts={"(\\d+(\\s){2}(StoreVector.*)+(\\s){2}===.*)", " >0 "}, failOn={}, applyIfAnd={}, applyIfOr={}, applyIfNot={})"
- counts: Graph contains wrong number of nodes:
* Regex 1: (\d+(\s){2}(StoreVector.*)+(\s){2}===.*)
- Failed comparison: [found] 0 > 0 [given]
- No nodes matched!
Bisect points to
- relates to
-
JDK-8289801 [IR Framework] Add flags to whitelist which can be used to simulate a specific machine setup like UseAVX
- Resolved