[testsuite] require sqrt_insn effective target where needed
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / lhs-2.c
blobd1b18b1591d88b5ea7877c96b1b47cf94b9e3b25
1 /* { dg-do compile { target { powerpc*-*-* } } } */
2 /* { dg-skip-if "" { powerpc*-*-darwin* } } */
3 /* { dg-options "-O2 -mdejagnu-cpu=power6 -msched-groups" } */
4 /* { dg-final { scan-assembler "ori 1,1,0" } } */
6 /* Test generation of group ending nop in load hit store situation. */
7 typedef union {
8 double val;
9 struct {
10 unsigned int w1;
11 unsigned int w2;
13 } words;
15 unsigned int f (double d)
17 words u;
18 u.val = d;
19 return u.w2;