i386: Adjust rtx cost for imulq and imulw [PR115749]
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / vect-simd-clone-18c.c
blobe56e6bca4a0c282c2a1c6fd37d2545b5246685af
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 short
6 #include "vect-simd-clone-18.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 /* { dg-final { scan-tree-dump-times {[\n\r] [^\n]* = foo\.simdclone} 2 "vect" { target { ! { x86_64-*-* || { i?86-*-* || aarch64*-*-* } } } } } } */
11 /* { dg-final { scan-tree-dump-times {[\n\r] [^\n]* = foo\.simdclone} 3 "vect" { target { aarch64*-*-* } } } } */
13 /* x86_64 fails to use in-branch clones for TYPE=short. */
14 /* { dg-final { scan-tree-dump-times {[\n\r] [^\n]* = foo\.simdclone} 0 "vect" { target x86_64-*-* i?86-*-* } } } */
16 /* The LTO test produces two dump files and we scan the wrong one. */
17 /* { dg-skip-if "" { *-*-* } { "-flto" } { "" } } */