Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
gcc.target
/
bfin
/
builtins
/
shl_fr1x32-8.c
blob: 9300650857c428c1b5d495db39b1357e02058995 [
file
] [
log
] [
blame
]
extern
void
abort
(
void
);
typedef
long
fract32
;
fract32 foo
(
fract32 f
,
short
n
)
{
return
__builtin_bfin_shl_fr1x32
(
f
,
n
);
}
int
main
()
{
fract32 t
;
t
=
foo
(
0xc000e4ff
,
-
4
);
if
(
t
!=
0xfc000e4f
)
abort
();
return
0
;
}