OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
ldso: Fix compile-error on noMMU
[uclinux-h8/uClibc.git]
/
libc
/
sysdeps
/
linux
/
sparc
/
sparcv9
/
urem.S
1
/*
2
* Sparc v9 has divide.
3
* As divx takes 68 cycles and udiv only 37,
4
* we use udiv eventhough it is deprecated.
5
*/
6
7
.text
8
.align 32
9
ENTRY(.urem)
10
11
wr %g0, 0, %y
12
udiv %o0, %o1, %o2
13
umul %o2, %o1, %o2
14
retl
15
sub %o0, %o2, %o0
16
17
END(.urem)