Sign in
llvm
/
llvm-archive
/
276bde03595d52e26812d2712817bc876da8ee7b
/
.
/
llvm-gcc-4.2
/
gcc
/
config
/
iq2000
/
lib2extra-funcs.c
blob: e092babdd1117baec9117adb41b78cba65b15d09 [
file
] [
log
] [
blame
]
typedef
unsigned
int
USItype
__attribute__
((
mode
(
SI
)));
USItype
__mulsi3
(
USItype
a
,
USItype
b
)
{
USItype
c
=
0
;
while
(
a
!=
0
)
{
if
(
a
&
1
)
c
+=
b
;
a
>>=
1
;
b
<<=
1
;
}
return
c
;
}