[testsuite] require sqrt_insn effective target where needed
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / pr60032.c
blobe1115b817092f7e6ed6e387b0fdd453896f56690
1 /* { dg-do compile { target { powerpc*-*-* } } } */
2 /* { dg-require-effective-target dfp } */
3 /* { dg-options "-O2" } */
5 void foo (void)
7 register float __attribute__ ((mode(SD))) r31 __asm__ ("r31");
8 register float __attribute__ ((mode(SD))) fr1 __asm__ ("fr1");
10 __asm__ ("#" : "=d" (fr1));
11 r31 = fr1;
12 __asm__ ("#" : : "r" (r31));