| 1 |
/* { dg-do compile } */ /* PR59617 */ |
| 2 |
/* { dg-options "-O3 -mavx512f -march=sapphirerapids -fdump-tree-vect-details -mprefer-vector-width=512" } */ |
| 3 |
/* Disabling epilogues until we find a better way to deal with scans. */ |
| 4 |
/* { dg-additional-options "--param vect-epilogues-nomask=0" } */ |
| 5 |
|
| 6 |
#include "avx512f-gather-1.c" |
| 7 |
|
| 8 |
/* { dg-final { scan-assembler-not "gather\[^\n\]*ymm\[^\n\]*ymm" } } */ |
| 9 |
/* { dg-final { scan-assembler-not "gather\[^\n\]*xmm\[^\n\]*ymm" } } */ |
| 10 |
/* { dg-final { scan-assembler-not "gather\[^\n\]*ymm\[^\n\]*xmm" } } */ |
| 11 |
/* { dg-final { scan-assembler-not "gather\[^\n\]*xmm\[^\n\]*xmm" } } */ |
| 12 |
/* { dg-final { scan-tree-dump-times "vectorized 1 loops in function" 16 "vect" } } */ |