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

Don't vecorized array operations that can't be aligned at runtime.

    • Icon: Backport Backport
    • Resolution: Fixed
    • Icon: P3 P3
    • 6u2
    • None
    • hotspot
    • b12
    • b03

      Make corrections suggested from code reviews.

      Don't vecorized array operations that can't be aligned at runtime
      such as:

          int badstride = 11;
          for (int i = 0; i < len; i+= badstride) {
            ia[i+0] = ia2[i+0];
            ia[i+1] = ia2[i+1];
            ia[i+2] = ia2[i+2];
            ia[i+3] = ia2[i+3];
            ia[i+4] = ia2[i+4];
            ia[i+5] = ia2[i+5];
            ia[i+6] = ia2[i+6];
            ia[i+7] = ia2[i+7];
          }

            rknippelsunw Ross Knippel (Inactive)
            rknippelsunw Ross Knippel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: