Shorten conditional branch code.
Reviewed by: andrew Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
5cb72aa7ec
commit
4424a685c2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=291486
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user