summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2015-11-30 10:18:15 +0000
committerkib <kib@FreeBSD.org>2015-11-30 10:18:15 +0000
commit8c1026b736c3fd3bbcccadb4629f5563e2e20b48 (patch)
tree3e37f0423333532ec5de418b986ff073260b6d49
parent2912fa4385156db937dc3c23fc427c0152118a4c (diff)
downloadFreeBSD-src-8c1026b736c3fd3bbcccadb4629f5563e2e20b48.zip
FreeBSD-src-8c1026b736c3fd3bbcccadb4629f5563e2e20b48.tar.gz
Shorten conditional branch code.
Reviewed by: andrew Sponsored by: The FreeBSD Foundation
-rw-r--r--sys/arm64/arm64/exception.S3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/arm64/arm64/exception.S b/sys/arm64/arm64/exception.S
index 3dc484e..279f34f 100644
--- a/sys/arm64/arm64/exception.S
+++ b/sys/arm64/arm64/exception.S
@@ -116,8 +116,7 @@ __FBSDID("$FreeBSD$");
mov x3, #((TDF_ASTPENDING|TDF_NEEDRESCHED) >> 8)
lsl x3, x3, #8
and x2, x2, x3
- cmp x2, #0
- b.eq 2f
+ cbz x2, 2f
/* Restore interrupts */
msr daif, x19
OpenPOWER on IntegriCloud