| 1 |
/* { dg-require-effective-target vect_simd_clones } */ |
| 2 |
/* { dg-additional-options "-fopenmp-simd" } */ |
| 3 |
/* { dg-additional-options "-mavx" { target avx_runtime } } */ |
| 4 |
|
| 5 |
#define TYPE float |
| 6 |
#include "vect-simd-clone-16.c" |
| 7 |
|
| 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 |
/* { dg-final { scan-tree-dump-times {[\n\r] [^\n]* = foo\.simdclone} 2 "vect" { target { ! { avx_runtime || aarch64*-*-* } } } } } */ |
| 11 |
/* { dg-final { scan-tree-dump-times {[\n\r] [^\n]* = foo\.simdclone} 3 "vect" { target { avx_runtime || aarch64*-*-* } } } } */ |
| 12 |
|
| 13 |
/* The LTO test produces two dump files and we scan the wrong one. */ |
| 14 |
/* { dg-skip-if "" { *-*-* } { "-flto" } { "" } } */ |