From 4424a685c2f60dfc1c4563f74ac67dfd830ed251 Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Mon, 30 Nov 2015 10:18:15 +0000 Subject: [PATCH] Shorten conditional branch code. Reviewed by: andrew Sponsored by: The FreeBSD Foundation --- sys/arm64/arm64/exception.S | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/arm64/arm64/exception.S b/sys/arm64/arm64/exception.S index 3dc484e33ee..279f34f4804 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