From 6ca24c43481e2c93a6eec362b04c3e77a35b28e3 Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Thu, 22 Feb 2018 23:48:13 +0530 Subject: 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. --- sysdeps/aarch64/strcmp.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdeps/aarch64') 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 -- cgit v1.2.3