JDK-8278267 : ARM32: several vector test failures for ASHR
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 18
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux
  • CPU: arm
  • Submitted: 2021-12-05
  • Updated: 2022-01-25
  • Resolved: 2022-01-10
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 18 JDK 19
18 b31Fixed 19Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
In tier3 test on ARM32 platform, the following test cases failed:

jdk/incubator/vector/ByteMaxVectorTests.java
jdk/incubator/vector/Int64VectorTests.java
jdk/incubator/vector/Short64VectorTests.java
jdk/incubator/vector/Byte64VectorTests.java
jdk/incubator/vector/IntMaxVectorTests.java
jdk/incubator/vector/ShortMaxVectorTests.java

Here is part of the error message:

test ByteMaxVectorTests.ASHRByteMaxVectorTests(byte[-i * 5], byte[cornerCaseValue(i)]): failure
java.lang.AssertionError: (-15, 127) at index #3 expected [-1] but found [-128]
      at org.testng.Assert.fail(Assert.java:99)
      at org.testng.Assert.failNotEquals(Assert.java:1037)
      at org.testng.Assert.assertEqualsImpl(Assert.java:140)
      at org.testng.Assert.assertEquals(Assert.java:122)
      at org.testng.Assert.assertEquals(Assert.java:841)
      at ByteMaxVectorTests.assertArraysEquals(ByteMaxVectorTests.java:357)
      at ByteMaxVectorTests.ASHRByteMaxVectorTests(ByteMaxVectorTests.java:2255)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:577)
      at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132)
      at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:599)
      at org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:174)
      at org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46)
      at org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:822)
      at org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:147)
      at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146)
      at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128)
      at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
      at org.testng.TestRunner.privateRun(TestRunner.java:764)
      at org.testng.TestRunner.run(TestRunner.java:585)
      at org.testng.SuiteRunner.runTest(SuiteRunner.java:384)
      at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:378)
      at org.testng.SuiteRunner.privateRun(SuiteRunner.java:337)
      at org.testng.SuiteRunner.run(SuiteRunner.java:286)
      at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53)
      at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96)
      at org.testng.TestNG.runSuitesSequentially(TestNG.java:1218)
      at org.testng.TestNG.runSuitesLocally(TestNG.java:1140)
      at org.testng.TestNG.runSuites(TestNG.java:1069)
      at org.testng.TestNG.run(TestNG.java:1037)
      at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:94)
      at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:54)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:577)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)

      at java.base/java.lang.Thread.run(Thread.java:833)

Comments
Changeset: bbc1ddb4 Author: Hao Sun <haosun@openjdk.org> Committer: Dean Long <dlong@openjdk.org> Date: 2022-01-10 20:46:28 +0000 URL: https://git.openjdk.java.net/jdk/commit/bbc1ddb4744bfb15c4e3ab0bed14f7ad0d17b7e5
13-01-2022

Changeset: bbc1ddb4 Author: Hao Sun <haosun@openjdk.org> Committer: Dean Long <dlong@openjdk.org> Date: 2022-01-10 20:46:28 +0000 URL: https://git.openjdk.java.net/jdk18/commit/bbc1ddb4744bfb15c4e3ab0bed14f7ad0d17b7e5
10-01-2022

A pull request was submitted for review. URL: https://git.openjdk.java.net/jdk18/pull/41 Date: 2021-12-17 00:38:07 +0000
17-12-2021

ILW = Wrong execution of compiled code, only with ARM32 and vector intrinsics?, no known workaround = HLH = P2
06-12-2021