| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-options "-O3 --param vect-partial-vector-usage=1 -march=znver4 -mprefer-vector-width=256" } */ |
| 3 |
/* { dg-final { scan-assembler-not {(?n)vpblendd.*ymm} } } */ |
| 4 |
|
| 5 |
|
| 6 |
void foo (int * __restrict a, int *b) |
| 7 |
{ |
| 8 |
for (int i = 0; i < 6; ++i) |
| 9 |
a[i] = b[i] + 42; |
| 10 |
} |