Use conditional internal functions in if-conversion
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / altivec-perm-4.c
blob9598edfb01035386dc49bcb54d9bd74bb13d3af8
1 /* { dg-do compile } */
2 /* { dg-require-effective-target powerpc_altivec_ok } */
3 /* { dg-options "-O -maltivec -mno-vsx" } */
5 typedef unsigned int V __attribute__((vector_size(16)));
7 V f4(V x)
9 return __builtin_shuffle(x, (V){ 1,1,1,1, });
12 /* { dg-final { scan-assembler-not "vperm" } } */
13 /* { dg-final { scan-assembler "vspltw" } } */