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

Incorrect result computation in vector tests with MaxVectorSize=8

XMLWordPrintable

      Following tests fails when MaxVectorSize is set to 8 bytes

      compiler/loopopts/superword/TestMulAddS2I.java
      compiler/vectorization/TestFloatConversionsVector.java


      Test Failures (1)
      -----------------
      Custom Run Test: @Run: run - @Tests: {testa,testb,testc,testd,teste,testf,testg,testh,testi,testj,testk,testl}:
      compiler.lib.ir_framework.shared.TestRunException: There was an error while invoking @Run method public static void compiler.loopopts.superword.TestMulAddS2I.run()
              at compiler.lib.ir_framework.test.CustomRunTest.invokeTest(CustomRunTest.java:162)
              at compiler.lib.ir_framework.test.AbstractTest.run(AbstractTest.java:103)
              at compiler.lib.ir_framework.test.CustomRunTest.run(CustomRunTest.java:89)
              at compiler.lib.ir_framework.test.TestVM.runTests(TestVM.java:861)
              at compiler.lib.ir_framework.test.TestVM.start(TestVM.java:252)
              at compiler.lib.ir_framework.test.TestVM.main(TestVM.java:165)
      Caused by: java.lang.reflect.InvocationTargetException
              at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:118)
              at java.base/java.lang.reflect.Method.invoke(Method.java:588)
              at compiler.lib.ir_framework.test.CustomRunTest.invokeTest(CustomRunTest.java:159)
              ... 5 more
      Caused by: java.lang.RuntimeException: wrong result for 'testk' out[2] expected: 667396746 but was: 388519276
              at jdk.test.lib.Asserts.fail(Asserts.java:691)

        1. Test1.java
          1 kB
          Emanuel Peter
        2. Test1b.java
          2 kB
          Emanuel Peter
        3. Test2.java
          1 kB
          Emanuel Peter
        4. Test2b.java
          1 kB
          Emanuel Peter

            epeter Emanuel Peter
            jbhateja Jatin Bhateja
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: