summaryrefslogtreecommitdiff
path: root/strings/strmov-sparc.s
diff options
context:
space:
mode:
Diffstat (limited to 'strings/strmov-sparc.s')
-rw-r--r--strings/strmov-sparc.s6
1 files changed, 3 insertions, 3 deletions
diff --git a/strings/strmov-sparc.s b/strings/strmov-sparc.s
index 6114b0bf6e2..3536685b47b 100644
--- a/strings/strmov-sparc.s
+++ b/strings/strmov-sparc.s
@@ -23,10 +23,10 @@
.proc 0102
strmov:
.loop:
- ldub [%o1], %g2
- stb %g2, [%o0]
+ ldub [%o1], %o3
+ stb %o3, [%o0]
add %o1, 1, %o1
- cmp %g2, 0
+ cmp %o3, 0
bne,a .loop
add %o0, 1, %o0
retl