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

Fix several IR test issues on SVE after JDK-8289801

XMLWordPrintable

    • b09
    • aarch64
    • generic

      This test case failed on SVE-based machine with "UseSVE=0" specified.

      How to reproduce:
      make test TEST="test/hotspot/jtreg/compiler/vectorization/TestPopCountVectorLong.java" JTREG="VM_OPTIONS=-XX:UseSVE=0 -Djdk.incubator.vector.test.loop-iterations=300"

      Error message:
      STDERR:Command Line:
      ~/work/build-dev/images/jdk/bin/java -DReproduce=true -cp ~/work/build-dev/test-support/jtreg_test_hotspot_jtreg_compiler_vectorization_TestPopCountVectorLong_java/classes/0/compiler
      /vectorization/TestPopCountVectorLong.d:~/work/jdk-src/test/hotspot/jtreg/compiler/vectorization:~/work/build-dev/test-support/jtreg_test_hotspot_jtreg_compiler_vectorization_TestPop
      CountVectorLong_java/classes/0/test/lib:~/work/build-dev/test-support/jtreg_test_hotspot_jtreg_compiler_vectorization_TestPopCountVectorLong_java/classes/0:~/work/jtreg/lib/javatest.
      jar:~/work/jtreg/lib/jtreg.jar:~/work/jtreg/lib/junit.jar:~/work/jtreg/lib/hamcrest.jar:~/work/jtreg/lib/testng.jar:~/work/jtreg/lib/jcommander
      .jar:~/work/jtreg/lib/guice.jar -Djava.library.path=~/work/build-dev/images/test/hotspot/jtreg/native -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:MaxRAMPe
      rcentage=1.5625 -Djava.io.tmpdir=~/work/build-dev/test-support/jtreg_test_hotspot_jtreg_compiler_vectorization_TestPopCountVectorLong_java/tmp -XX:UseSVE=0 -Djdk.incubator.vector.test.loop-iterat
      ions=300 -Dir.framework.server.port=33733 -XX:+PrintCompilation -XX:+UnlockDiagnosticVMOptions -XX:+LogCompilation -XX:CompileCommand=log,compiler.vectorization.TestPopCountVectorLong::* -XX:CompileCommand=op
      tion,compiler.vectorization.TestPopCountVectorLong::*,bool,PrintIdeal,true -XX:CompileCommand=option,compiler.vectorization.TestPopCountVectorLong::*,bool,PrintOptoAssembly,true -XX:-OmitStackTraceInFastThrow
       -DShouldDoIRVerification=true -XX:-BackgroundCompilation -XX:CompileCommand=quiet compiler.lib.ir_framework.test.TestVM compiler.vectorization.TestPopCountVectorLongOne or more @IR rules failed:Failed IR Rules (1) of Methods (1)
      ----------------------------------
      1) Method "public void compiler.vectorization.TestPopCountVectorLong.vectorizeBitCount()" - [Failed IR rules: 1]:
         * @IR rule 1: "@compiler.lib.ir_framework.IR(applyIfCPUFeatureAnd={}, applyIf={}, applyIfCPUFeatureOr={}, applyIfCPUFeature={}, counts={"PopCountVL", ">= 1"}, failOn={}, applyIfAnd={}, applyIfOr={}, applyI
      fNot={})"
           - counts: Graph contains wrong number of nodes:
             * Regex 1: PopCountVL
               - Failed comparison: [found] 0 >= 1 [given]
               - No nodes matched!

            haosun Hao Sun (Inactive)
            haosun Hao Sun (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: