aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/aarch64
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@sourceware.org>2018-02-22 23:48:13 +0530
committerSiddhesh Poyarekar <siddhesh@sourceware.org>2018-02-22 23:48:14 +0530
commit6ca24c43481e2c93a6eec362b04c3e77a35b28e3 (patch)
tree2fdce8afc74eb0927507ecfddb09890bd6816ae6 /sysdeps/aarch64
parente9537dddc7c7c7b60b55ed845542c8d586164488 (diff)
downloadglibc-6ca24c43481e2c93a6eec362b04c3e77a35b28e3.tar
glibc-6ca24c43481e2c93a6eec362b04c3e77a35b28e3.tar.gz
glibc-6ca24c43481e2c93a6eec362b04c3e77a35b28e3.tar.bz2
glibc-6ca24c43481e2c93a6eec362b04c3e77a35b28e3.zip
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.
Diffstat (limited to 'sysdeps/aarch64')
-rw-r--r--sysdeps/aarch64/strcmp.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/aarch64/strcmp.S b/sysdeps/aarch64/strcmp.S
index 0b22f168b5..267aa4b551 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