[jdk21u-dev] RFR: 8291809: Convert compiler/c2/cr7200264/TestSSE2IntVect.java to IR verification test

SendaoYan syan at openjdk.org
Tue Feb 6 08:39:35 UTC 2024


On Tue, 6 Feb 2024 08:31:02 GMT, SendaoYan <syan at openjdk.org> wrote:

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

TestSSE2IntVect.java test fail before this PR:

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:103)
        at java.base/java.lang.reflect.Method.invoke(Method.java:580)
        at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
        at java.base/java.lang.Thread.run(Thread.java:1583)

TestIntVect.java test pass after this PR:

![image](https://github.com/openjdk/jdk21u-dev/assets/24123821/35d53891-c013-4ed8-9691-d9dff19a4dad)

-------------

PR Comment: https://git.openjdk.org/jdk21u-dev/pull/235#issuecomment-1929014933
PR Comment: https://git.openjdk.org/jdk21u-dev/pull/235#issuecomment-1929016079


More information about the jdk-updates-dev mailing list