summaryrefslogtreecommitdiff
path: root/arch/arm64/lib/tishift.S
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-11-07 05:24:04 +0300
committerCatalin Marinas <catalin.marinas@arm.com>2018-01-02 17:22:18 +0300
commitf5ed22e2647cc89dd0a57936b38a582546527509 (patch)
treeea5356a4222a87196be8f31c8ed84f588a6b65a1 /arch/arm64/lib/tishift.S
parent8b9951ed7e5b517bdd5743d71ac662885d3c7bfc (diff)
downloadlinux-f5ed22e2647cc89dd0a57936b38a582546527509.tar.xz
arm64: make label allocation style consistent in tishift
This is entirely cosmetic, but somehow it was missed when sending differing versions of this patch. This just makes the file a bit more uniform. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/lib/tishift.S')
-rw-r--r--arch/arm64/lib/tishift.S8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm64/lib/tishift.S b/arch/arm64/lib/tishift.S
index 0179a43cc045..d3db9b2cd479 100644
--- a/arch/arm64/lib/tishift.S
+++ b/arch/arm64/lib/tishift.S
@@ -38,19 +38,19 @@ ENTRY(__ashlti3)
ENDPROC(__ashlti3)
ENTRY(__ashrti3)
- cbz x2, 3f
+ cbz x2, 1f
mov x3, #64
sub x3, x3, x2
cmp x3, #0
- b.le 4f
+ b.le 2f
lsr x0, x0, x2
lsl x3, x1, x3
asr x2, x1, x2
orr x0, x0, x3
mov x1, x2
-3:
+1:
ret
-4:
+2:
neg w0, w3
asr x2, x1, #63
asr x0, x1, x0