Skip to content

Commit 00bf9cd

Browse files
author
wangfei_chen
committed
Refine VFP context for Coretex-A9
s0–s15 (d0–d7, q0–q3) and d16–d31 (q8–q15) are caller save register Signed-off-by: wangfei_chen <wangfei_chen@realsil.com.cn>
1 parent 3ddfffd commit 00bf9cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

portable/GCC/ARM_CA9/portASM.S

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ switch_before_exit:
302302
vApplicationIRQHandler:
303303
PUSH {LR}
304304
FMRX R1, FPSCR
305-
VPUSH {D0-D15}
305+
VPUSH {D0-D7}
306306
VPUSH {D16-D31}
307307
PUSH {R1}
308308

@@ -311,7 +311,7 @@ vApplicationIRQHandler:
311311

312312
POP {R0}
313313
VPOP {D16-D31}
314-
VPOP {D0-D15}
314+
VPOP {D0-D7}
315315
VMSR FPSCR, R0
316316

317317
POP {PC}

0 commit comments

Comments
 (0)