[FFmpeg-cvslog] aarch64/opusdsp: do not clobber register v8

Lynne git at videolan.org
Thu Aug 15 15:30:34 EEST 2019


ffmpeg | branch: master | Lynne <dev at lynne.ee> | Thu Aug 15 13:27:21 2019 +0100| [aac382e9e5f128898a19cc98259a25d29d93df71] | committer: Lynne

aarch64/opusdsp: do not clobber register v8

A part of v8-v15 needs to be preserved across calls.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=aac382e9e5f128898a19cc98259a25d29d93df71
---

 libavcodec/aarch64/opusdsp_neon.S | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/libavcodec/aarch64/opusdsp_neon.S b/libavcodec/aarch64/opusdsp_neon.S
index 3d805e2c9c..46c2be0874 100644
--- a/libavcodec/aarch64/opusdsp_neon.S
+++ b/libavcodec/aarch64/opusdsp_neon.S
@@ -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



More information about the ffmpeg-cvslog mailing list