3 __attribute__((noinline
, noclone
)) int
6 #pragma omp parallel for linear (i: 4)
7 for (int j
= 16; j
< 64; j
++)
15 __attribute__((noinline
, noclone
)) short int
16 f2 (short int i
, char k
)
18 #pragma omp parallel for linear (i: k + 1)
19 for (long j
= 16; j
< 64; j
++)
27 __attribute__((noinline
, noclone
)) long long int
28 f3 (long long int i
, long long int k
)
30 #pragma omp parallel for linear (i: k)
31 for (short j
= 16; j
< 64; j
++)
39 __attribute__((noinline
, noclone
)) int
42 #pragma omp parallel for linear (i: 4) schedule(static, 3)
43 for (int j
= 16; j
< 64; j
++)
51 __attribute__((noinline
, noclone
)) short int
52 f5 (short int i
, char k
)
54 #pragma omp parallel for linear (i: k + 1) schedule(static, 5)
55 for (long j
= 16; j
< 64; j
++)
63 __attribute__((noinline
, noclone
)) long long int
64 f6 (long long int i
, long long int k
)
66 #pragma omp parallel for linear (i: k) schedule(static, 7)
67 for (short j
= 16; j
< 64; j
++)
75 __attribute__((noinline
, noclone
)) int
78 #pragma omp parallel for linear (i: 4) schedule(dynamic, 3)
79 for (int j
= 16; j
< 64; j
++)
87 __attribute__((noinline
, noclone
)) short int
88 f8 (short int i
, char k
)
90 #pragma omp parallel for linear (i: k + 1) schedule(dynamic, 5)
91 for (long j
= 16; j
< 64; j
++)
99 __attribute__((noinline
, noclone
)) long long int
100 f9 (long long int i
, long long int k
)
102 #pragma omp parallel for linear (i: k) schedule(dynamic, 7)
103 for (short j
= 16; j
< 64; j
++)
111 __attribute__((noinline
, noclone
)) int
112 f10 (int i
, long step
)
114 #pragma omp parallel for linear (i: 4)
115 for (int j
= 16; j
< 112; j
+= step
)
123 __attribute__((noinline
, noclone
)) short int
124 f11 (short int i
, char k
, char step
)
126 #pragma omp parallel for linear (i: k + 1)
127 for (long j
= 16; j
< 112; j
+= step
)
135 __attribute__((noinline
, noclone
)) long long int
136 f12 (long long int i
, long long int k
, int step
)
138 #pragma omp parallel for linear (i: k)
139 for (short j
= 16; j
< 112; j
+= step
)
147 __attribute__((noinline
, noclone
)) int
148 f13 (int i
, long long int step
)
150 #pragma omp parallel for linear (i: 4) schedule(static, 3)
151 for (int j
= 16; j
< 112; j
+= step
)
159 __attribute__((noinline
, noclone
)) short int
160 f14 (short int i
, char k
, int step
)
162 #pragma omp parallel for linear (i: k + 1) schedule(static, 5)
163 for (long j
= 16; j
< 112; j
+= step
)
171 __attribute__((noinline
, noclone
)) long long int
172 f15 (long long int i
, long long int k
, long int step
)
174 #pragma omp parallel for linear (i: k) schedule(static, 7)
175 for (short j
= 16; j
< 112; j
+= step
)
183 __attribute__((noinline
, noclone
)) int
184 f16 (int i
, long long int step
)
186 #pragma omp parallel for linear (i: 4) schedule(dynamic, 3)
187 for (int j
= 16; j
< 112; j
+= step
)
195 __attribute__((noinline
, noclone
)) short int
196 f17 (short int i
, char k
, int step
)
198 #pragma omp parallel for linear (i: k + 1) schedule(dynamic, 5)
199 for (long j
= 16; j
< 112; j
+= step
)
207 __attribute__((noinline
, noclone
)) long long int
208 f18 (long long int i
, long long int k
, long int step
)
210 #pragma omp parallel for linear (i: k) schedule(dynamic, 7)
211 for (short j
= 16; j
< 112; j
+= step
)
223 if (x != 8 + 48 * 4) \
224 __builtin_abort (); \
225 for (int i = 0; i < 256; i++) \
226 if (a[i] != (((i & 3) == 0 && i >= 8 \
228 ? ((i - 8) / 4) + 16 : 0)) \
229 __builtin_abort (); \
230 __builtin_memset (a, 0, sizeof (a))
233 TEST (f3 (8LL, 4LL));
236 TEST (f6 (8LL, 4LL));
239 TEST (f9 (8LL, 4LL));
241 TEST (f11 (8, 3, 2));
242 TEST (f12 (8LL, 4LL, 2));
244 TEST (f14 (8, 3, 2));
245 TEST (f15 (8LL, 4LL, 2));
247 TEST (f17 (8, 3, 2));
248 TEST (f18 (8LL, 4LL, 2));