[testsuite] require sqrt_insn effective target where needed
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / pr63491.c
blob9f7f46072863ac8db64415f5f105b1ef6fa0fd20
1 /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */
2 /* { dg-options "-O1 -mdejagnu-cpu=power8" } */
4 typedef __int128_t __attribute__((__vector_size__(16))) vector_128_t;
5 typedef unsigned long long scalar_64_t;
7 vector_128_t
8 foo (void)
10 union {
11 scalar_64_t i64[2];
12 vector_128_t v128;
13 } u;
14 u.i64[0] = 1;
15 u.i64[1] = 2;
16 return u.v128;