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
Remove dead code from x86-32 SSSE3 strncmp.
[glibc.git]
/
sysdeps
/
sparc
/
sparc32
/
sparcv8
/
rem.S
blob
a2694e699ed27f259e02c065e1572ebbdc7f0c73
1
/*
2
* Sparc v8 has divide.
3
*/
4
5
#include <sysdep.h>
6
7
ENTRY(.rem)
8
9
sra %o0, 31, %o2
10
wr %o2, 0, %y
11
nop
12
nop
13
nop
14
sdivcc %o0, %o1, %o2
15
bvs,a 1f
16
xnor %o2, %g0, %o2
17
1: smul %o2, %o1, %o2
18
retl
19
sub %o0, %o2, %o0
20
21
END(.rem)