Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8291048

x86: compiler/c2/irTests/TestAutoVectorization2DArray.java fails with lower SSE

XMLWordPrintable

    • 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 to JDK-8289801, which whitelisted the UseSSE/UseAVX flags, but missed update in the test.

            shade Aleksey Shipilev
            shade Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: