summaryrefslogtreecommitdiff
path: root/libcpu
diff options
context:
space:
mode:
Diffstat (limited to 'libcpu')
-rw-r--r--libcpu/arm/cortex-m4/context_gcc.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcpu/arm/cortex-m4/context_gcc.S b/libcpu/arm/cortex-m4/context_gcc.S
index a6ecaf9fe9..6a910355a8 100644
--- a/libcpu/arm/cortex-m4/context_gcc.S
+++ b/libcpu/arm/cortex-m4/context_gcc.S
@@ -110,9 +110,9 @@ PendSV_Handler:
#if defined (__VFP_FP__) && !defined(__SOFTFP__)
TST lr, #0x10 /* if(!EXC_RETURN[4]) */
- VSTMDB r1!, {d8 - d15} /* push FPU register s16~s31 */
+ VSTMDBEQ r1!, {d8 - d15} /* push FPU register s16~s31 */
#endif
-
+
STMFD r1!, {r4 - r11} /* push r4 - r11 register */
#if defined (__VFP_FP__) && !defined(__SOFTFP__)