aboutsummaryrefslogtreecommitdiff
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-04-02 11:15:13 -0700
commita65b3d13e1754d568782e64a762c2c7fab45a55d (patch)
treea415e02c10d91323040efcbe6547b81b20a4c4ea
parentf4b6d20366aac66070f1cf50552cf2951991a1e5 (diff)
downloadglibc-a65b3d13e1754d568782e64a762c2c7fab45a55d.zip
glibc-a65b3d13e1754d568782e64a762c2c7fab45a55d.tar.gz
glibc-a65b3d13e1754d568782e64a762c2c7fab45a55d.tar.bz2
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". (cherry picked from commit 3c9a4cd16cbc7b79094fec68add2df66061ab5d7)
-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 9f033f5..82ddf87 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