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
Use conditional internal functions in if-conversion
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
bfin
/
builtins
/
shl_fr1x32-8.c
blob
9300650857c428c1b5d495db39b1357e02058995
1
extern
void
abort
(
void
);
2
3
typedef
long
fract32
;
4
5
fract32
foo
(
fract32 f
,
short
n
)
6
{
7
return
__builtin_bfin_shl_fr1x32
(
f
,
n
);
8
}
9
10
int
main
()
11
{
12
fract32 t
;
13
14
t
=
foo
(
0xc000e4ff
, -
4
);
15
if
(
t
!=
0xfc000e4f
)
16
abort
();
17
18
return
0
;
19
}
20