This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.25-579-g049816c
- From: hjl at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 23 Jun 2017 19:47:58 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.25-579-g049816c
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, master has been updated
via 049816c3be14e47e5fe10f8cd5a38bb611d34ce5 (commit)
from 52a8e5cb43a937d5224d271537093a1f92d78e94 (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=049816c3be14e47e5fe10f8cd5a38bb611d34ce5
commit 049816c3be14e47e5fe10f8cd5a38bb611d34ce5
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Fri Jun 23 12:45:57 2017 -0700
x86-64: Optimize L(between_2_3) in memcmp-avx2-movbe.S
Turn
movzbl -1(%rdi, %rdx), %edi
movzbl -1(%rsi, %rdx), %esi
orl %edi, %eax
orl %esi, %ecx
into
movb -1(%rdi, %rdx), %al
movb -1(%rsi, %rdx), %cl
* sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
Replace movzbl and orl with movb.
diff --git a/ChangeLog b/ChangeLog
index 3ce2b04..ced515c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-06-23 H.J. Lu <hongjiu.lu@intel.com>
+
+ * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
+ Replace movzbl and orl with movb.
+
2017-06-23 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
* manual/arith.texi (Infinity and NaN): Document SNANFN and SNANFNx.
diff --git a/sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S b/sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S
index 2cd2f71..abcc61c 100644
--- a/sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S
+++ b/sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S
@@ -144,10 +144,8 @@ L(between_2_3):
shll $8, %ecx
bswap %eax
bswap %ecx
- movzbl -1(%rdi, %rdx), %edi
- movzbl -1(%rsi, %rdx), %esi
- orl %edi, %eax
- orl %esi, %ecx
+ movb -1(%rdi, %rdx), %al
+ movb -1(%rsi, %rdx), %cl
/* Subtraction is okay because the upper 8 bits are zero. */
subl %ecx, %eax
ret
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S | 6 ++----
2 files changed, 7 insertions(+), 4 deletions(-)
hooks/post-receive
--
GNU C Library master sources