diff options
| author | R b b666 <[email protected]> | 2025-09-28 16:08:02 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-09-28 16:08:02 +0800 |
| commit | 2b65a6f2a77f8871cc345b2250d8b2ac1045839b (patch) | |
| tree | 85e45b4b741f975c0a269fbab068988d6f51d9a4 /libcpu/arm | |
| parent | 11156de0de6bea4eb9090d162152caf2b352b232 (diff) | |
fix:Fixed compilation error for libcpu/cortex-m4. (#10756)
Diffstat (limited to 'libcpu/arm')
| -rw-r--r-- | libcpu/arm/cortex-m4/context_iar.S | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libcpu/arm/cortex-m4/context_iar.S b/libcpu/arm/cortex-m4/context_iar.S index c1c90b0c8f..89f06887a7 100644 --- a/libcpu/arm/cortex-m4/context_iar.S +++ b/libcpu/arm/cortex-m4/context_iar.S @@ -239,9 +239,9 @@ _get_sp_done #if defined ( __ARMVFP__ ) TST lr, #0x10 ; if(!EXC_RETURN[4]) - BNE skip_push_fpu + BNE skip_push_fpu_hd VSTMDB r0!, {d8 - d15} ; push FPU register s16~s31 -skip_push_fpu +skip_push_fpu_hd #endif STMFD r0!, {r4 - r11} ; push r4 - r11 register @@ -250,9 +250,9 @@ skip_push_fpu MOV r4, #0x00 ; flag = 0 TST lr, #0x10 ; if(!EXC_RETURN[4]) - BNE push_flag + BNE push_flag_hd MOV r4, #0x01 ; flag = 1 -push_flag +push_flag_hd SUB r0, r0, #0x04 STR r4, [r0] ; push flag #endif |
