JDK-8291510 : Failed test compiler/c2/cr7200264/TestSSE2IntVect.java after JDK-8289996
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 20
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2022-07-28
  • Updated: 2022-08-02
  • Resolved: 2022-08-02
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 20
20Resolved
Related Reports
Duplicate :  
Relates :  
Description
Running the test with  '-XX:UseAVX=1 -Xcomp' flags produces error:

java.lang.RuntimeException: Unexpected SubVI number: expected 2 >= 4
        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)

Comments
The change that introduced this regression will be backed out. Closing this as duplicate of the backout (JDK-8291597).
02-08-2022

There is a difference failure mode reported with this test in JI-9073720 using -XX:LoopUnrollLimit=0.
02-08-2022

ILW = failed test; with AVX flag; no workaround = MMH = P3
28-07-2022

I traced regression to JDK-8289996 changes.
28-07-2022

Note, -Xcomp is not product flag. Compilation result with it may change. That is why it is P4 bug. The test should be re-written using IR framework instead of counting total number of particular vectors which may came from different test's methods.
28-07-2022

It is recent regression. I see BCI (bytecode) is different from past. javac changes? The only change for test was additional flags JDK-8287801 This also shows that we may need to run vector tests with -Xcomp in addition to variations of UseSSE and UseAVX flags we already have.
28-07-2022