Browse Source

aarch64/opusdsp: do not clobber register v8

A part of v8-v15 needs to be preserved across calls.
tags/n4.3
Lynne 5 years ago
parent
commit
aac382e9e5
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      libavcodec/aarch64/opusdsp_neon.S

+ 4
- 4
libavcodec/aarch64/opusdsp_neon.S View File

@@ -95,16 +95,16 @@ function ff_opus_postfilter_neon, export=1
fmla v3.4s, v7.4s, v2.4s
fadd v6.4s, v6.4s, v4.4s

ld1 {v8.4s}, [x0]
fmla v8.4s, v5.4s, v0.4s
ld1 {v4.4s}, [x0]
fmla v4.4s, v5.4s, v0.4s

fmul v6.4s, v6.4s, v1.4s
fadd v6.4s, v6.4s, v3.4s

fadd v8.4s, v8.4s, v6.4s
fadd v4.4s, v4.4s, v6.4s
fmul v3.4s, v7.4s, v2.4s

st1 {v8.4s}, [x0], #16
st1 {v4.4s}, [x0], #16

subs w3, w3, #4
b.gt 1b


Loading…
Cancel
Save