[testsuite] require sqrt_insn effective target where needed
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / ppc-ne0-1.c
blob27ed38f040ad3a9cf58efb618382d0e5ff2a4582
1 /* PR target/51274 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2" } */
5 /* { dg-final { scan-assembler-times {\mcmp[wd]i\M} 1 { target { has_arch_pwr10 } } } } */
6 /* { dg-final { scan-assembler-times {\msetbcr\M} 1 { target { has_arch_pwr10 } } } } */
7 /* { dg-final { scan-assembler-times {\maddic\M} 1 { target { ! has_arch_pwr10 } } } } */
8 /* { dg-final { scan-assembler-times {\msubfe\M} 1 { target { ! has_arch_pwr10 } } } } */
10 long ne0(long a)
12 return a != 0;