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

Incorrect vector conversion results with UseSSE < 2

    XMLWordPrintable

    Details

      Description

      $ CONF=linux-x86-server-fastdebug make run-test TEST=compiler/vectorapi/reshape/TestVectorReinterpret.java TEST_VM_OPTS="-XX:UseAVX=0 -XX:UseSSE=0"

      ...

      Custom Run Test: @Run: runF256toD256 - @Test: testF256toD256:
      compiler.lib.ir_framework.shared.TestRunException: There was an error while invoking @Run method public static void compiler.vectorapi.reshape.tests.TestVectorRebracket.runF256toD256() throws java.lang.Throwable
      at compiler.lib.ir_framework.test.CustomRunTest.invokeTest(CustomRunTest.java:162)
      at compiler.lib.ir_framework.test.AbstractTest.run(AbstractTest.java:99)
      at compiler.lib.ir_framework.test.CustomRunTest.run(CustomRunTest.java:89)
      at compiler.lib.ir_framework.test.TestVM.runTests(TestVM.java:818)
      at compiler.lib.ir_framework.test.TestVM.start(TestVM.java:249)
      at compiler.lib.ir_framework.test.TestVM.main(TestVM.java:164)
      Caused by: java.lang.reflect.InvocationTargetException
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:119)
      at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      at compiler.lib.ir_framework.test.CustomRunTest.invokeTest(CustomRunTest.java:159)
      ... 5 more
      Caused by: java.lang.RuntimeException: assertEquals: expected -97 to equal -33
      at jdk.test.lib.Asserts.fail(Asserts.java:594)
      at jdk.test.lib.Asserts.assertEquals(Asserts.java:205)
      at jdk.test.lib.Asserts.assertEquals(Asserts.java:189)
      at compiler.vectorapi.reshape.utils.VectorReshapeHelper.runRebracketHelper(VectorReshapeHelper.java:303)
      at compiler.vectorapi.reshape.tests.TestVectorRebracket.runF256toD256(TestVectorRebracket.java:975)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      ... 7 more

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              shade Aleksey Shipilev
              Reporter:
              shade Aleksey Shipilev
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: