Skip to content

Commit

Permalink
arm64/vector: Reduce two useless instructions
Browse files Browse the repository at this point in the history
Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com>
  • Loading branch information
W-M-R authored and xiaoxiang781216 committed Jan 10, 2025
1 parent d22e6d7 commit e5e9032
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions arch/arm64/src/common/arm64_vector_table.S
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,8 @@

/* Increment exception depth */

mrs \xreg0, tpidrro_el0
mov \xreg1, #1
add \xreg0, \xreg0, \xreg1
msr tpidrro_el0, \xreg0
add \xreg1, \xreg1, #1
msr tpidrro_el0, \xreg1

/* Save the FPU registers */

Expand Down

0 comments on commit e5e9032

Please sign in to comment.