Replies: 1 comment
-
|
Sorry, I make a mistake. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In zephyr/arch/arm/core/cortex_m/swap_helper.S:
add r0, r2, #_thread_offset_to_preempt_float
vldmia r0, {s16-s31}
.L_in_fp_endif:
/* Clear CONTROL.FPCA that may have been set by FP instructions */
mrs r3, CONTROL
bic r3, #_CONTROL_FPCA_Msk
msr CONTROL, r3
isb
But in arm document DDI0403E_e_armv7m_arm

So the manual clear operation seems unnecessary.
Beta Was this translation helpful? Give feedback.
All reactions