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