mirror of
https://github.com/apache/nuttx.git
synced 2025-01-12 22:08:35 +08:00
arm64/vector: Reduce two useless instructions
Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com>
This commit is contained in:
parent
d22e6d7489
commit
e5e9032ea0
1 changed files with 2 additions and 4 deletions
|
@ -89,10 +89,8 @@
|
||||||
|
|
||||||
/* Increment exception depth */
|
/* Increment exception depth */
|
||||||
|
|
||||||
mrs \xreg0, tpidrro_el0
|
add \xreg1, \xreg1, #1
|
||||||
mov \xreg1, #1
|
msr tpidrro_el0, \xreg1
|
||||||
add \xreg0, \xreg0, \xreg1
|
|
||||||
msr tpidrro_el0, \xreg0
|
|
||||||
|
|
||||||
/* Save the FPU registers */
|
/* Save the FPU registers */
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue