Commit 625ae26
aarch64: Add -moverride=tune=no_ldp_stp_qregs to TARGET_CFLAGS
From Zephyr arch/arm64/core/CMakeLists.txt:
GCC may generate ldp/stp instructions with the Advanced SIMD Qn registers for
consecutive 32-byte loads and stores. Saving and restoring the Advanced SIMD
context is very expensive, and it is preferable to keep it turned off by not
emitting these instructions for better context switching performance.
Also, if these instructions happen from an ISR, they will trap and
appear to leave interrupts disabled afterwards. That bug should be fixed.
Signed-off-by: Keith Packard <[email protected]>1 parent 13381c2 commit 625ae26
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
0 commit comments