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

Vector.lane() gets wrong value on x86

    XMLWordPrintable

Details

    • b16
    • x86
    • generic

    Backports

      Description

        // test case
         public static short testShort() {
              ShortVector vecb = ShortVector.broadcast(ShortVector.SPECIES_128, -5);
              return vecb.lane(1);
          }
        C2:

        $>../build-fastdebug/images/jdk/bin/java -ea -Xbatch --add-modules=jdk.incubator.vector Test1
        WARNING: Using incubator modules: jdk.incubator.vector
        65531
        Interpreter:

        $>../build-fastdebug/images/jdk/bin/java -ea -Xbatch -Xint --add-modules=jdk.incubator.vector Test1
        WARNING: Using incubator modules: jdk.incubator.vector
        -5

        Attachments

          Issue Links

            Activity

              People

                jbhateja Jatin Bhateja
                eliu Eric Liu
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: