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

Convert compiler/c2/cr7200264/TestSSE2IntVect.java to IR verification test

    XMLWordPrintable

Details

    • b09
    • generic
    • generic

    Description

      # Failure analysis
      The option "-XX:LoopUnrollLimit=0" results in no unrolling and consequently no vectorization opportunities in the test code.

      # Original description
      ADDITIONAL SYSTEM INFORMATION :
      OS: Ubuntu18.04

      CPU: Intel(R) Xeon(R) Gold 6240 CPU @ 2.60GHz with AVX3

      $ java -version
      openjdk version "20-internal" 2023-03-21
      OpenJDK Runtime Environment (fastdebug build 20-internal-adhoc.root.jdk)
      OpenJDK 64-Bit Server VM (fastdebug build 20-internal-adhoc.root.jdk, mixed mode, sharing)

      A DESCRIPTION OF THE PROBLEM :
      $ CONF=linux-x86_64-server-fastdebug make test TEST=compiler/c2/cr7200264/TestSSE2IntVect.java TEST_VM_OPTS="-XX:LoopUnrollLimit=0"

      ----------System.err:(16/1012)----------
      java.lang.RuntimeException: Unexpected AndV number: expected 0 >= 3
      at jdk.test.lib.Asserts.fail(Asserts.java:594)
      at jdk.test.lib.Asserts.assertGreaterThanOrEqual(Asserts.java:288)
      at jdk.test.lib.Asserts.assertGTE(Asserts.java:259)
      at compiler.c2.cr7200264.TestDriver.verifyVectorizationNumber(TestDriver.java:65)
      at compiler.c2.cr7200264.TestDriver.run(TestDriver.java:43)
      at compiler.c2.cr7200264.TestSSE2IntVect.main(TestSSE2IntVect.java:48)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:125)
      at java.base/java.lang.Thread.run(Thread.java:1589)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Unexpected AndV number: expected 0 >= 3
      JavaTest Message: shutting down test

      Besides, compiler/c2/cr7200264/TestSSE4IntVect.java also failed with option "-XX:LoopUnrollLimit=0"


      FREQUENCY : always


      Attachments

        Issue Links

          Activity

            People

              dlunden Daniel Lunden
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: