summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2016-03-22 08:36:16 -0700
committerH.J. Lu <hjl.tools@gmail.com>2016-03-22 08:36:16 -0700
commit3c9a4cd16cbc7b79094fec68add2df66061ab5d7 (patch)
treeb24b971460ca18529a6fb235f90a9a9d47a04615 /sysdeps
parentf781a9e96138d8839663af5e88649ab1fbed74f8 (diff)
downloadglibc-3c9a4cd16cbc7b79094fec68add2df66061ab5d7.tar.gz
glibc-3c9a4cd16cbc7b79094fec68add2df66061ab5d7.tar.xz
glibc-3c9a4cd16cbc7b79094fec68add2df66061ab5d7.zip
Don't set %rcx twice before "rep movsb"
	* sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
	Don't set %rcx twice before "rep movsb".
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S1
1 files changed, 0 insertions, 1 deletions
diff --git a/sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S b/sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S
index 74fed186e9..b615d063c0 100644
--- a/sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S
+++ b/sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S
@@ -234,7 +234,6 @@ L(gobble_data_movsb):
 	cmp	%rcx, %rdx
 	jae	L(gobble_big_data_fwd)
 	mov	%rdx, %rcx
-	mov	%rdx, %rcx
 	rep	movsb
 	ret