[committed, PATCH] Don't set %rcx twice before "rep movsb"
H.J. Lu
hongjiu.lu@intel.com
Tue Mar 22 15:42:00 GMT 2016
* sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
Don't set %rcx twice before "rep movsb".
---
ChangeLog | 5 +++++
sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S | 1 -
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 522bc4f..54454a5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
+ * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
+ Don't set %rcx twice before "rep movsb".
+
+2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
+
[BZ #19583]
* sysdeps/x86/cpu-features.c (get_common_indeces): Remove
inline. Check family before setting family, model and
diff --git a/sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S b/sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S
index 74fed18..b615d06 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
--
2.5.5
More information about the Libc-alpha
mailing list