[testsuite] require sqrt_insn effective target where needed
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / pr64205.c
blobc726fb70b9734e7097d48aaa026f89664fe603a8
1 /* { dg-do compile { target { powerpc*-*-* && ilp32 } } } */
2 /* { dg-require-effective-target dfp } */
3 /* { dg-skip-if "" { powerpc*-*-aix* } } */
4 /* { dg-options "-O2 -mdejagnu-cpu=G5 -maltivec" } */
6 union ieee754r_Decimal32
8 _Decimal32 sd;
9 unsigned int cc0;
12 unsigned int
13 __decoded32 (_Decimal32 a)
15 union ieee754r_Decimal32 d;
16 d.sd = a;
17 return d.cc0;