* gcc.target/powerpc/builtins-1-be.c <vclzb>: Rename duplicate test
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / fold-vec-splats-longlong.c
blob2dbf48eca15b53f17958b50ba96d5f1003594089
1 /* Verify that overloaded built-ins for vec_splat with long long
2 inputs produce the right code. */
4 /* { dg-do compile { target { powerpc*-*-linux* && lp64 } } } */
5 /* { dg-require-effective-target powerpc_vsx_ok } */
6 /* { dg-options "-mvsx -O2" } */
8 #include <altivec.h>
10 vector signed long long
11 test3s (signed long long x)
13 return vec_splats (x);
16 vector unsigned long long
17 test3u (unsigned long long x)
19 return vec_splats (x);
22 /* { dg-final { scan-assembler-times "xxpermdi|mtvsrdd" 2 } } */