Shorten conditional branch code.

Reviewed by:	andrew
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Konstantin Belousov 2015-11-30 10:18:15 +00:00
parent 5cb72aa7ec
commit 4424a685c2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=291486

View File

@ -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