libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / vect-simd-clone-17e.c
blobc7c510b8a6abdaef9c7488aedd2cecf0f84c33ee
1 /* { dg-require-effective-target vect_simd_clones } */
2 /* { dg-additional-options "-fopenmp-simd" } */
3 /* { dg-additional-options "-mavx" { target avx_runtime } } */
5 #define TYPE double
6 #include "vect-simd-clone-17.c"
8 /* Ensure the the in-branch simd clones are used on targets that support them.
9 Some targets use another call for the epilogue loops.
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 { { ! avx_runtime } && { ! { { i?86-*-* x86_64-*-* } && { ! lp64 } } } } } } } */
12 /* { dg-final { scan-tree-dump-times {[\n\r] [^\n]* = foo\.simdclone} 3 "vect" { target { avx_runtime && { ! { { i?86-*-* x86_64-*-* } && { ! lp64 } } } } } } } */
13 /* { dg-final { scan-tree-dump-times {[\n\r] [^\n]* = foo\.simdclone} 4 "vect" { target { { ! avx_runtime } && { { i?86-*-* x86_64-*-* } && { ! lp64 } } } } } } */
15 /* The LTO test produces two dump files and we scan the wrong one. */
16 /* { dg-skip-if "" { *-*-* } { "-flto" } { "" } } */