OSDN Git Service

2007-07-12 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.target / powerpc / ppc-negeq0-1.c
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
3
4 int foo(int x)
5 {
6   return -(x == 0);
7 }
8
9 int bar(int x)
10 {
11   int t = __builtin_clz(x);
12   return -(t>>5);
13 }
14
15 /* { dg-final { scan-assembler-not "cntlzw" } } */