TestH(int * res,int * c,int * d,int * p,int n)1void TestH(int *res, int *c, int *d, int *p, int n) { 2 int i; 3 4 #pragma clang loop vectorize(assume_safety) 5 for (i = 0; i < 1600; i++) { 6 res[i] = (p[i] == 0) ? res[i] : res[i] + d[i]; 7 } 8 9 for (i = 0; i < 16; i++) { 10 res[i] = (p[i] == 0) ? res[i] : res[i] + d[i]; 11 } 12 13 foo(); 14 15 foo(); bar(); foo(); 16 } 17 18