* gcc.target/powerpc/builtins-1-be.c <vclzb>: Rename duplicate test
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / altivec-perm-2.c
blob1b90bb9567cbc01510c092f92a04772c97302e7b
1 /* { dg-do compile } */
2 /* { dg-require-effective-target powerpc_altivec_ok } */
3 /* { dg-options "-O -maltivec -mno-vsx" } */
5 typedef unsigned short V __attribute__((vector_size(16)));
7 V f2(V x)
9 return __builtin_shuffle(x, (V){ 1,1,1,1, 1,1,1,1, });
12 V f4(V x)
14 return __builtin_shuffle(x, (V){ 2,3,2,3, 2,3,2,3, });
17 /* { dg-final { scan-assembler-not "vperm" } } */
18 /* { dg-final { scan-assembler "vsplth" } } */
19 /* { dg-final { scan-assembler "vspltw" } } */