mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +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
|
#else
|
||||||
tst r14, #EXC_RETURN_PROCESS_STACK /* nonzero if context on process stack */
|
tst r14, #EXC_RETURN_PROCESS_STACK /* nonzero if context on process stack */
|
||||||
#ifdef CONFIG_ARMV8M_STACKCHECK_HARDWARE
|
#ifdef CONFIG_ARMV8M_STACKCHECK_HARDWARE
|
||||||
ite eq
|
itete eq
|
||||||
msreq msplim, r0
|
msreq msplim, r0
|
||||||
msrne psplim, r0
|
msrne psplim, r0
|
||||||
#endif
|
#else
|
||||||
ite eq /* Next two instructions conditional */
|
ite eq /* Next two instructions conditional */
|
||||||
|
#endif
|
||||||
msreq msp, r1 /* R1=The main stack pointer */
|
msreq msp, r1 /* R1=The main stack pointer */
|
||||||
msrne psp, r1 /* R1=The process stack pointer */
|
msrne psp, r1 /* R1=The process stack pointer */
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user