summary refs log tree commit diff
path: root/sysdeps/s390/s390-32/memcpy.S
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2001-08-02 14:47:58 +0000
committerAndreas Jaeger <aj@suse.de>2001-08-02 14:47:58 +0000
commit79cc051525a569d8504a497bed6052b178518e7a (patch)
tree70bcc48ebdb1b789ee54c154979d80fce70fa671 /sysdeps/s390/s390-32/memcpy.S
parent73331cbf3c3a1d9370ac7dac1fe585019d81c7a8 (diff)
downloadglibc-79cc051525a569d8504a497bed6052b178518e7a.tar.gz
glibc-79cc051525a569d8504a497bed6052b178518e7a.tar.xz
glibc-79cc051525a569d8504a497bed6052b178518e7a.zip
Fixed incorrect use of mvcle introduced by 2001-07-12 change.
Diffstat (limited to 'sysdeps/s390/s390-32/memcpy.S')
-rw-r--r--sysdeps/s390/s390-32/memcpy.S3
1 files changed, 1 insertions, 2 deletions
diff --git a/sysdeps/s390/s390-32/memcpy.S b/sysdeps/s390/s390-32/memcpy.S
index ad82f8a340..1fa4652666 100644
--- a/sysdeps/s390/s390-32/memcpy.S
+++ b/sysdeps/s390/s390-32/memcpy.S
@@ -49,8 +49,7 @@ ENTRY(memcpy)
 	# data copies > 1MB are faster with mvcle.
 .L4:	ahi     %r4,1               # length + 1
 	lr      %r5,%r4	            # source length
-	lr	%r4,%r2             # source address
-	lr	%r2,%r3             # set destination
+	lr	%r4,%r3             # source address
 	lr	%r3,%r5             # destination length = source length
 .L5:	mvcle	%r2,%r4,0           # thats it, MVCLE is your friend
 	jo	.L5