about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@sourceware.org>2018-03-06 22:56:35 +0530
committerWilco Dijkstra <wdijkstr@arm.com>2019-09-06 16:33:12 +0100
commit8569357e11aa7b8e912142727eac1d106c785433 (patch)
treed14b99173e6b66a9b744dfc3597c093367e9ccb7
parentec4512194f035856b8a231476c9139d72f47c58f (diff)
downloadglibc-8569357e11aa7b8e912142727eac1d106c785433.tar.gz
glibc-8569357e11aa7b8e912142727eac1d106c785433.tar.xz
glibc-8569357e11aa7b8e912142727eac1d106c785433.zip
aarch64: Fix branch target to loop16
I goofed up when changing the loop8 name to loop16 and missed on out
the branch instance.  Fixed and actually build tested this time.

	* sysdeps/aarch64/memcmp.S (more16): Fix branch target loop16.

(cherry picked from commit 4e54d918630ea53e29dd70d3bdffcb00d29ed3d4)
-rw-r--r--ChangeLog2
-rw-r--r--sysdeps/aarch64/memcmp.S2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 204d047c0d..18a01ed12b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2019-09-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
 
+	* sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
+
 	* sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
 	time.
 
diff --git a/sysdeps/aarch64/memcmp.S b/sysdeps/aarch64/memcmp.S
index d074c98615..a741e7b17f 100644
--- a/sysdeps/aarch64/memcmp.S
+++ b/sysdeps/aarch64/memcmp.S
@@ -75,7 +75,7 @@ L(more16):
 	/* We overlap loads between 0-32 bytes at either side of SRC1 when we
 	   try to align, so limit it only to strings larger than 128 bytes.  */
 	cmp	limit, 96
-	b.ls	L(loop8)
+	b.ls	L(loop16)
 
 	/* Align src1 and adjust src2 with bytes not yet done.  */
 	and	tmp1, src1, 15