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

RISC-V: xxxMaxVectorTestsSmokeTest fails when using RVV

XMLWordPrintable

    • b16
    • riscv

        The tests <all-types>MaxVectorTests.maskCompress<all-types>MaxVectorTestsSmokeTest fails when using mask[i % 2].
        It seem to fail regardless of OSR/C1/C2.

        test IntMaxVectorTests.maskCompressIntMaxVectorTestsSmokeTest(mask[i % 2]): failure
        java.lang.AssertionError: expected [false] but found [true]

          21242 438 size: 1056(416) time: 21 inlined: 5 bytes
          21242 439 b jdk.incubator.vector.AbstractVector::sameSpecies (54 bytes)
          21262 439 size: 984(408) time: 19 inlined: 4 bytes
          21262 440 b jdk.incubator.vector.IntVector::opCode (11 bytes)
          21273 440 size: 808(304) time: 11 inlined: 3 bytes
          21274 441 b jdk.incubator.vector.VectorOperators::opCode (10 bytes)
          21286 441 size: 904(352) time: 11 inlined: 2 bytes
          21287 442 b jdk.incubator.vector.VectorOperators$OperatorImpl::opCode (38 bytes)
          21295 442 size: 688(272) time: 8 inlined: 1 bytes
          21295 443 b jdk.internal.vm.vector.VectorSupport::compare (39 bytes)
          21522 443 size: 7536(2736) time: 226 inlined: 492 bytes
          21522 444 b jdk.incubator.vector.IntVector$$Lambda/0x000000002914cbc0::apply (21 bytes)
          21679 444 size: 4792(1688) time: 156 inlined: 218 bytes
          21680 445 b jdk.incubator.vector.IntVector::lambda$compareTemplate$59 (21 bytes)
          21833 445 size: 4560(1616) time: 152 inlined: 195 bytes
          21833 446 b jdk.incubator.vector.IntVector$$Lambda/0x000000002914cff0::<init> (10 bytes)
          21837 446 size: 248(128) time: 3 inlined: 1 bytes
          21871 386 org.testng.Assert::assertEquals (7 bytes) made not entrant

        I think this is what happens before we hit assert uncommon trap.

          1. ByteMaxVectorTests.jtr
            373 kB
          2. DoubleMaxVectorTests.jtr
            293 kB
          3. FloatMaxVectorTests.jtr
            284 kB
          4. IntMaxVectorTests.jtr
            362 kB
          5. LongMaxVectorTests.jtr
            340 kB
          6. rr_vanilla.sh
            4 kB
          7. ShortMaxVectorTests.jtr
            386 kB

              gcao Gui Cao
              rehn Robbin Ehn
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: