repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Sync usage with man page.
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
config
/
iq2000
/
lib2extra-funcs.c
blob
e092babdd1117baec9117adb41b78cba65b15d09
1
typedef
unsigned int
USItype
__attribute__
((
mode
(
SI
)));
2
3
USItype
4
__mulsi3
(
USItype a
,
USItype b
)
5
{
6
USItype c
=
0
;
7
8
while
(
a
!=
0
)
9
{
10
if
(
a
&
1
)
11
c
+=
b
;
12
a
>>=
1
;
13
b
<<=
1
;
14
}
15
16
return
c
;
17
}