1 /* { dg-do compile } */ 2 3 int a, b; 4 5 void __sched_cpucount(void)6__sched_cpucount (void) 7 { 8 while (b) 9 { 10 long l = b++; 11 a += __builtin_popcountl(l); 12 } 13 } 14 15 void slp_test(int * x,long * y)16slp_test (int *x, long *y) 17 { 18 for (int i = 0; i < 512; i += 4) 19 { 20 x[i] = __builtin_popcountl(y[i]); 21 x[i + 1] = __builtin_popcountl(y[i + 1]); 22 x[i + 2] = __builtin_popcountl(y[i + 2]); 23 x[i + 3] = __builtin_popcountl(y[i + 3]); 24 } 25 } 26