| 1 |
/* { dg-do-if compile { target { sse2_runtime && { ! sse4_runtime } } } } */ |
| 2 |
/* { dg-require-effective-target vect_simd_clones } */ |
| 3 |
/* { dg-additional-options "-fopenmp-simd --param vect-epilogues-nomask=0" } */ |
| 4 |
/* { dg-additional-options "-msse4" { target sse4 } } */ |
| 5 |
/* { dg-additional-options "-mavx" { target avx_runtime } } */ |
| 6 |
/* { dg-additional-options "-mno-avx512f" { target { { i?86*-*-* x86_64-*-* } && { ! lp64 } } } } */ |
| 7 |
|
| 8 |
#define TYPE __INT64_TYPE__ |
| 9 |
#include "vect-simd-clone-17.c" |
| 10 |
|
| 11 |
/* Ensure the the in-branch simd clones are used on targets that support them. |
| 12 |
*/ |
| 13 |
/* { dg-final { scan-tree-dump-times {[\n\r] [^\n]* = foo\.simdclone} 2 "vect" } } */ |
| 14 |
|
| 15 |
/* The LTO test produces two dump files and we scan the wrong one. */ |
| 16 |
/* { dg-skip-if "" { *-*-* } { "-flto" } { "" } } */ |