summaryrefslogtreecommitdiff
path: root/strings/strmov-sparc.s
diff options
context:
space:
mode:
authormonty@butch. <>2002-11-07 03:54:00 +0200
committermonty@butch. <>2002-11-07 03:54:00 +0200
commita2bdf9265f3a0874f8d58bec690da4af07bca4cb (patch)
tree2cbd26b72e2ab9ce6d8a7e6cf96fab865fec9834 /strings/strmov-sparc.s
parent5333cfb4298899c0985fc07f229c99866ef656cc (diff)
downloadmariadb-git-a2bdf9265f3a0874f8d58bec690da4af07bca4cb.tar.gz
Portability fixes for Fortre C++ 5.0 (on Sun) in 32 and 64 bit modes.
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