[testsuite] require sqrt_insn effective target where needed
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / vec-init-7.c
blob965960acd6f7b3bb9c3815b083a840a8e51e075a
1 /* { dg-do compile { target lp64 } } */
2 /* { dg-require-effective-target powerpc_vsx_ok } */
3 /* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2" } */
5 vector int
6 splat (int a)
8 return (vector int) { a, a, a, a };
11 /* { dg-final { scan-assembler "mtvsrwz" } } */
12 /* { dg-final { scan-assembler "xxspltw" } } */