mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-27 03:33:33 +08:00
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.
(cherry picked from commit 6ca24c4348
)
This commit is contained in:
parent
4e75091d6c
commit
01de24dbca
@ -1,3 +1,8 @@
|
||||
2019-09-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
|
||||
|
||||
* sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
|
||||
do_misaligned, not misaligned8.
|
||||
|
||||
2019-09-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
|
||||
|
||||
* sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user