repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge from mainline.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
powerpc
/
ppc-negeq0-1.c
blob
37d10bc5b682f94a14f374e3bb2b4e93ab97711e
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" } } */