mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
arch/armv8-m: Merge ite instruction to the previous one
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Brennan Ashton
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
|
||||
|
||||
Reference in New Issue
Block a user