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.27.9000-199-gb47c3e7
- From: siddhesh at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 15 Mar 2018 02:37:08 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.27.9000-199-gb47c3e7
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 b47c3e7637efb77818cbef55dcd0ed1f0ea0ddf1 (commit)
from 807fee29d2c967e24e3fe05e2182ba53e96e9178 (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=b47c3e7637efb77818cbef55dcd0ed1f0ea0ddf1
commit b47c3e7637efb77818cbef55dcd0ed1f0ea0ddf1
Author: Siddhesh Poyarekar <siddhesh@sourceware.org>
Date: Thu Mar 15 08:06:21 2018 +0530
aarch64/strncmp: Use lsr instead of mov+lsr
A lsr can do what the mov and lsr did.
diff --git a/ChangeLog b/ChangeLog
index 88566d0..38154c2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
+
+ * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
+ mov + lsr.
+
2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
[BZ #22963]
diff --git a/sysdeps/aarch64/strncmp.S b/sysdeps/aarch64/strncmp.S
index 1dc8b79..759c752 100644
--- a/sysdeps/aarch64/strncmp.S
+++ b/sysdeps/aarch64/strncmp.S
@@ -208,15 +208,13 @@ L(done):
/* Align the SRC1 to a dword by doing a bytewise compare and then do
the dword loop. */
L(try_misaligned_words):
- mov limit_wd, limit
- lsr limit_wd, limit_wd, #3
+ lsr limit_wd, limit, #3
cbz count, L(do_misaligned)
neg count, count
and count, count, #7
sub limit, limit, count
- mov limit_wd, limit
- lsr limit_wd, limit_wd, #3
+ lsr limit_wd, limit, #3
L(page_end_loop):
ldrb data1w, [src1], #1
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
sysdeps/aarch64/strncmp.S | 6 ++----
2 files changed, 7 insertions(+), 4 deletions(-)
hooks/post-receive
--
GNU C Library master sources