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 trunk @ 138209
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
powerpc
/
ppc-negeq0-1.c
blob
0386ecba7ca9d930c0998fc3607d8c8420e0b554
1
/* { dg-do compile } */
2
/* { dg-options "-O2" } */
3
4
long
foo
(
long
x
)
5
{
6
return
-(
x
==
0
);
7
}
8
9
long
bar
(
long
x
)
10
{
11
long
t
=
__builtin_clzl
(
x
);
12
return
-(
t
>>(
sizeof
(
long
) ==
8
?
6
:
5
));
13
}
14
15
/* { dg-final { scan-assembler-not "cntlz" } } */