From: Siddhesh Poyarekar Date: Thu, 22 Feb 2018 18:18:13 +0000 (+0530) Subject: aarch64/strcmp: fix misaligned loop jump target X-Git-Tag: glibc-2.28~566 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6ca24c43481e2c93a6eec362b04c3e77a35b28e3;p=thirdparty%2Fglibc.git aarch64/strcmp: fix misaligned loop jump target 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. --- diff --git a/ChangeLog b/ChangeLog index b47ef632664..f918ce15490 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2018-02-22 Siddhesh Poyarekar + + * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to + do_misaligned, not misaligned8. + 2018-02-22 Steve Ellcey * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): diff --git a/sysdeps/aarch64/strcmp.S b/sysdeps/aarch64/strcmp.S index 0b22f168b56..267aa4b5510 100644 --- a/sysdeps/aarch64/strcmp.S +++ b/sysdeps/aarch64/strcmp.S @@ -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