-
Bug
-
Resolution: Fixed
-
P4
-
17, 19, 20, 21, 23
-
b09
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8335982 | 21.0.5-oracle | Md Shahbaz Yusuf | P4 | Resolved | Fixed | b02 |
JDK-8337625 | 21.0.5 | Andrew Lu | P4 | Resolved | Fixed | b02 |
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
- backported by
-
JDK-8335982 Convert compiler/c2/cr7200264/TestSSE2IntVect.java to IR verification test
- Resolved
-
JDK-8337625 Convert compiler/c2/cr7200264/TestSSE2IntVect.java to IR verification test
- Resolved
- relates to
-
JDK-8291510 Failed test compiler/c2/cr7200264/TestSSE2IntVect.java after JDK-8289996
- Closed
-
JDK-8325277 [21u] compiler/c2/cr7200264/TestIntVect.java fails after JDK-8291809 with fastdebug build on aarch64 platform with SVE
- Open
- links to
-
Commit openjdk/jdk/4da28b40
-
Commit(master) openjdk/jdk21u-dev/72395842
-
Review openjdk/jdk17u-dev/2194
-
Review openjdk/jdk21u-dev/235
-
Review openjdk/jdk/17428
-
Review(master) openjdk/jdk21u-dev/879