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

Support type conversion between different data sizes in SLP

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b03
    • CPU:
      generic
    • OS:
      generic

      Description

      After JDK-8275317, C2's SLP vectorizer has supported type conversion
      between the same data size. We can also support conversions between
      different data sizes like:
      int <-> double
      float <-> long
      int <-> long
      float <-> double

      A typical test case:

      int[] a;
      double[] b;
      for (int i = start; i < limit; i++) {
          b[i] = (double) a[i];
      }

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              fgao Fei Gao
              Reporter:
              fgao Fei Gao
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: