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

C2: Math.min/max vectorization miscompilation

    XMLWordPrintable

Details

    • b23
    • Verified

    Description

      The attached reduced test case (Reduced.java) fails with:
        $ java -Xcomp -XX:CompileOnly=Reduced -XX:-TieredCompilation Reduced.java

      The same test case passes with:
        $ java -Xcomp -XX:CompileOnly=Reduced -XX:-TieredCompilation -XX:-UseSuperWord Reduced.java

      Attachments

        1. Foo.java
          0.6 kB
        2. FuzzerUtils.java
          13 kB
        3. Reduced.java
          0.6 kB
        4. Test.java
          8 kB

        Issue Links

          Activity

            People

              bkilambi Bhavana Kilambi
              dlong Dean Long
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: