]> git.ipfire.org Git - people/ms/gcc.git/blame - gcc/testsuite/gcc.dg/vect/vect-simd-clone-18f.c
testsuite: Fix up vect-simd-clone1[678]*.c tests [PR108898]
[people/ms/gcc.git] / gcc / testsuite / gcc.dg / vect / vect-simd-clone-18f.c
CommitLineData
3da77f21 1/* { dg-require-effective-target vect_simd_clones } */
b49aedf6 2/* { dg-additional-options "-fopenmp-simd --param vect-epilogues-nomask=0" } */
3da77f21
AS
3/* { dg-additional-options "-mavx" { target avx_runtime } } */
4
5#define TYPE __INT64_TYPE__
6#include "vect-simd-clone-18.c"
7
8/* Ensure the the in-branch simd clones are used on targets that support them.
9 Some targets use pairs of vectors and do twice the calls. */
10/* { dg-final { scan-tree-dump-times {[\n\r] [^\n]* = foo\.simdclone} 2 "vect" { target { ! { i686*-*-* && { ! lp64 } } } } } } */
11/* { dg-final { scan-tree-dump-times {[\n\r] [^\n]* = foo\.simdclone} 4 "vect" { target { i686*-*-* && { ! lp64 } } } } } */
12
13/* The LTO test produces two dump files and we scan the wrong one. */
14/* { dg-skip-if "" { *-*-* } { "-flto" } { "" } } */