Sign in
llvm
/
llvm-archive
/
7c2014e6d10413401c0984772345d9d61701eeba
/
.
/
llvm-gcc-4.0
/
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
;
}