blob: c5f0458ea752f56a787d4d25408685fe3b570810 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
/* { dg-do compile } */
/* { dg-require-effective-target vect_condition } */
/* { dg-additional-options "-mavx512bw" { target { i?86-*-* x86_64-*-* } } } */
#define N 1024
int a[N], b[N], c[N];
bool d[N];
void
test (void)
{
int i;
#pragma omp simd safelen(64)
for (i = 0; i < N; i++)
if (a[i] > 0)
d[i] = b[i] > c[i];
}
|