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-6.c
blob
94a4cde1dbbc08d98c61c9452c071b9af2d3aa87
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
(
0x7feff4ff
, -
4
);
15
if
(
t
!=
0x7feff4f
)
16
abort
();
17
18
return
0
;
19
}
20