summaryrefslogtreecommitdiff
path: root/libcpu/arm/cortex-m33
diff options
context:
space:
mode:
Diffstat (limited to 'libcpu/arm/cortex-m33')
-rw-r--r--libcpu/arm/cortex-m33/context_gcc.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcpu/arm/cortex-m33/context_gcc.S b/libcpu/arm/cortex-m33/context_gcc.S
index 27596bf787..3c4ac8a236 100644
--- a/libcpu/arm/cortex-m33/context_gcc.S
+++ b/libcpu/arm/cortex-m33/context_gcc.S
@@ -143,6 +143,7 @@ contex_ns_store:
#if defined (__VFP_FP__) && !defined(__SOFTFP__)
TST lr, #0x10 /* if(!EXC_RETURN[4]) */
+ IT EQ
VSTMDBEQ r1!, {d8 - d15} /* push FPU register s16~s31 */
#endif
@@ -187,6 +188,7 @@ contex_ns_load:
#if defined (__VFP_FP__) && !defined(__SOFTFP__)
TST lr, #0x10 /* if(!EXC_RETURN[4]) */
+ IT EQ
VLDMIAEQ r1!, {d8 - d15} /* pop FPU register s16~s31 */
#endif