aarch64/strcmp: fix misaligned loop jump target
authorSiddhesh Poyarekar <siddhesh@sourceware.org>
Thu, 22 Feb 2018 18:18:13 +0000 (23:48 +0530)
committerSiddhesh Poyarekar <siddhesh@sourceware.org>
Thu, 22 Feb 2018 18:18:14 +0000 (23:48 +0530)
I accidentally set the loop jump back label as misaligned8 instead of
do_misaligned.  The typo is harmless but it's always nice to not have
to unnecessarily execute those two instructions.

* sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
do_misaligned, not misaligned8.

ChangeLog
sysdeps/aarch64/strcmp.S

index b47ef63..f918ce1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2018-02-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
+
+       * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
+       do_misaligned, not misaligned8.
+
 2018-02-22  Steve Ellcey  <sellcey@cavium.com>
 
        * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
index 0b22f16..267aa4b 100644 (file)
@@ -158,7 +158,7 @@ L(do_misaligned):
        ccmp    data1w, data2w, #0, cs  /* NZCV = 0b0000.  */
        b.ne    L(done)
        tst     src1, #7
-       b.ne    L(misaligned8)
+       b.ne    L(do_misaligned)
 
 L(loop_misaligned):
        /* Test if we are within the last dword of the end of a 4K page.  If