repo.or.cz
/
glibc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Update copyright dates with scripts/update-copyrights.
[glibc.git]
/
sysdeps
/
sparc
/
sparc32
/
sparcv9
/
udiv.S
blob
de79899756855b673c40b14ec93c3a302a27e2c5
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
#include <sysdep.h>
8
9
.text
10
.align 32
11
ENTRY(.udiv)
12
13
wr %g0, 0, %y
14
retl
15
udiv %o0, %o1, %o0
16
17
END(.udiv)