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
Update ChangeLog and version files for release
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
bfin
/
builtins
/
shr_fr1x32-5.c
blob
6dbb7f2e2b3f8c87c41445b328cf775bf30b1892
1
extern
void
abort
(
void
);
2
3
typedef
long
fract32
;
4
5
fract32
foo
(
fract32 f
,
short
n
)
6
{
7
return
__builtin_bfin_shr_fr1x32
(
f
,
n
);
8
}
9
10
int
main
()
11
{
12
fract32 t
;
13
14
t
=
foo
(
0x7feff4ff
, -
4
);
15
if
(
t
!=
0x7fffffff
)
16
abort
();
17
18
return
0
;
19
}
20