Browse Source

!10196 [MSLITE] Fix the arm v7a assembly's bug

From: @zhanyuan1
Reviewed-by: @hangangqiang,@zhang_xue_tong
Signed-off-by: @zhang_xue_tong
tags/v1.1.0
mindspore-ci-bot Gitee 5 years ago
parent
commit
fdfec95b9a
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      mindspore/lite/nnacl/assembly/arm32/MatmulFp32Opt12x4.S

+ 4
- 2
mindspore/lite/nnacl/assembly/arm32/MatmulFp32Opt12x4.S View File

@@ -22,7 +22,8 @@
MatmulFloatNeon32Opt12x4:
// r4-r8 and q4-q7 must be saved according to https://static.docs.arm.com/ihi0042/i/aapcs32.pdf
push {r0-r8, r10, r11, lr}
add sp, sp, #48
vpush {q4-q7}
add sp, sp, #112

ldr r5, [sp, #4]
ldr r6, [sp, #8]
@@ -400,6 +401,7 @@ LoopRow:
b LoopRow

LoopRowEnd:
sub sp, sp, #48
sub sp, sp, #112
vpop {q4-q7}
pop {r0-r8, r10, r11, pc}
#endif

Loading…
Cancel
Save