Date: Mon, 30 Nov 2015 10:18:15 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r291486 - head/sys/arm64/arm64 Message-ID: <201511301018.tAUAIFI9065016@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Mon Nov 30 10:18:15 2015 New Revision: 291486 URL: https://svnweb.freebsd.org/changeset/base/291486 Log: Shorten conditional branch code. Reviewed by: andrew Sponsored by: The FreeBSD Foundation Modified: head/sys/arm64/arm64/exception.S Modified: head/sys/arm64/arm64/exception.S ============================================================================== --- head/sys/arm64/arm64/exception.S Mon Nov 30 10:17:13 2015 (r291485) +++ head/sys/arm64/arm64/exception.S Mon Nov 30 10:18:15 2015 (r291486) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511301018.tAUAIFI9065016>