This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch hjl/erms/hybrid updated. glibc-2.23-135-gc86b60d
- From: hjl at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 27 Mar 2016 15:51:04 -0000
- Subject: GNU C Library master sources branch hjl/erms/hybrid updated. glibc-2.23-135-gc86b60d
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, hjl/erms/hybrid has been updated
via c86b60d8365a7200802f5bf6903a7cc3ab6084e1 (commit)
via 503faea731766f6337f1a8277c8d3d0938d25a0c (commit)
from b7f1bda4b88d7e874f03af61b75eda50cf8d3a16 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=c86b60d8365a7200802f5bf6903a7cc3ab6084e1
commit c86b60d8365a7200802f5bf6903a7cc3ab6084e1
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Sun Mar 27 08:50:32 2016 -0700
Avoid long nop in memmove-vec-unaligned-erms.S
diff --git a/sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S b/sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
index 3439a9c..385f2c2 100644
--- a/sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
+++ b/sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
@@ -178,7 +178,8 @@ L(movsb):
.p2align 4
L(movsb_more_2x_vec):
cmpq $REP_MOVSB_THRESHOLD, %rdx
- ja L(movsb)
+ /* Force 32-bit displacement to avoid long nop. */
+ ja.d32 L(movsb)
.p2align 4
L(more_2x_vec):
/* More than 2 * VEC. */
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=503faea731766f6337f1a8277c8d3d0938d25a0c
commit 503faea731766f6337f1a8277c8d3d0938d25a0c
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Sun Mar 27 08:45:23 2016 -0700
Avoid long nop in memset-vec-unaligned-erms.S
diff --git a/sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S b/sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
index 1b596ce..e746cbb 100644
--- a/sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
+++ b/sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
@@ -122,7 +122,8 @@ ENTRY (MEMSET_SYMBOL (__memset, unaligned_erms))
.p2align 4
L(stosb_more_2x_vec):
cmpq $REP_STOSB_THRESHOLD, %rdx
- ja L(stosb)
+ /* Force 32-bit displacement to avoid long nop. */
+ ja.d32 L(stosb)
.p2align 4
L(more_2x_vec):
cmpq $(VEC_SIZE * 4), %rdx
@@ -150,7 +151,12 @@ L(loop_start):
addq %rdi, %rdx
andq $-(VEC_SIZE * 4), %rdx
cmpq %rdx, %rcx
+# if VEC_SIZE == 32 || VEC_SIZE == 64
+ /* Force 32-bit displacement to avoid long nop. */
+ je.d32 L(return)
+# else
je L(return)
+# endif
.p2align 4
L(loop):
VMOVA %VEC(0), (%rcx)
-----------------------------------------------------------------------
Summary of changes:
.../x86_64/multiarch/memmove-vec-unaligned-erms.S | 3 ++-
.../x86_64/multiarch/memset-vec-unaligned-erms.S | 8 +++++++-
2 files changed, 9 insertions(+), 2 deletions(-)
hooks/post-receive
--
GNU C Library master sources