| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-options "-march=armv8-a+sve -O2 -fno-move-loop-invariants" } */ |
| 3 |
|
| 4 |
void |
| 5 |
test__zero (int *restrict dest, int *restrict src, float *a, int count) |
| 6 |
{ |
| 7 |
int i; |
| 8 |
|
| 9 |
for (i = 0; i < count; ++i) |
| 10 |
dest[i] = !__builtin_isunordered (a[i], 0) ? src[i] : 0; |
| 11 |
} |