arch/armv8-m: Merge ite instruction to the previous one
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
d62ae03bf8
commit
3cf070e173
@ -320,11 +320,12 @@ exception_common:
|
||||
#else
|
||||
tst r14, #EXC_RETURN_PROCESS_STACK /* nonzero if context on process stack */
|
||||
#ifdef CONFIG_ARMV8M_STACKCHECK_HARDWARE
|
||||
ite eq
|
||||
itete eq
|
||||
msreq msplim, r0
|
||||
msrne psplim, r0
|
||||
#endif
|
||||
#else
|
||||
ite eq /* Next two instructions conditional */
|
||||
#endif
|
||||
msreq msp, r1 /* R1=The main stack pointer */
|
||||
msrne psp, r1 /* R1=The process stack pointer */
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user