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
Daily bump.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
tic6x
/
ffssi.c
blob
bb8351293793ad41e938120e45f2d20ef6ebad18
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -march=c64x+" } */
3
/* { dg-final { scan-assembler-not "call" } } */
4
5
int
foo
(
int
x
)
6
{
7
return
__builtin_ffsl
(
x
);
8
}
9
10
int
bar
(
int
x
)
11
{
12
return
__builtin_clzl
(
x
);
13
}
14
15
int
baz
(
int
x
)
16
{
17
return
__builtin_ctzl
(
x
);
18
}