Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
gcc.target
/
bfin
/
builtins
/
shl_fr1x16-8.c
blob: cea723f3383ea3ef8b4bd8468dc0458ccd2343a4 [
file
] [
log
] [
blame
]
extern
void
abort
(
void
);
typedef
short
fract16
;
fract16 foo
(
fract16 f
,
short
n
)
{
return
__builtin_bfin_shl_fr1x16
(
f
,
n
);
}
int
main
()
{
fract16 t1
;
t1
=
foo
(
0xd004
,
-
4
);
if
(
t1
!=
0xfffffd00
)
abort
();
return
0
;
}