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

vectorize sum of arrays's elements loop

XMLWordPrintable

    • generic
    • generic

      Changes for 6340864 (add vectorized arithmetic) will not vectorize sum of arrays's elements loop:

      int x = 0;
      int[] a = new int[10000];
      for(int i=0; i < a.length; i++) {
        x += a[i];
      }

      This RFE is filed to implement it.

            kvn Vladimir Kozlov
            kvn Vladimir Kozlov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: