Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
gcc.target
/
bfin
/
builtins
/
norm32-2.c
blob: 4972ed43d41c48705b87ce63e994fc67fd70e917 [
file
] [
log
] [
blame
]
extern
void
abort
(
void
);
extern
void
exit
(
int
);
typedef
int
fract32
;
int
main
()
{
fract32 f
=
0x12345678
,
g
;
int
a
;
a
=
__builtin_bfin_norm_fr1x32
(
f
);
g
=
f
<<
a
;
if
(
g
!=
0x48d159e0
)
abort
();
exit
(
0
);
}