[FFmpeg-cvslog] x86/swr: load constants outside the loop in pack_6ch functions

James Almer git at videolan.org
Sun Jan 11 05:12:37 CET 2015


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Sat Jan 10 19:21:52 2015 -0300| [6abf00d615d2098d67faeb9b034265c9983bbefd] | committer: James Almer

x86/swr: load constants outside the loop in pack_6ch functions

Reviewed-by: Michael Niedermayer <michaelni at gmx.at>
Signed-off-by: James Almer <jamrial at gmail.com>

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

 libswresample/x86/audio_convert.asm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libswresample/x86/audio_convert.asm b/libswresample/x86/audio_convert.asm
index f02370c..07d7458 100644
--- a/libswresample/x86/audio_convert.asm
+++ b/libswresample/x86/audio_convert.asm
@@ -239,6 +239,7 @@ pack_6ch_%2_to_%1_u_int %+ SUFFIX
     sub    src3q, srcq
     sub    src4q, srcq
     sub    src5q, srcq
+    %7 x,x,x,x,m7,x
 .loop:
     mov%3     m0, [srcq      ]
     mov%3     m1, [srcq+src1q]
@@ -246,7 +247,6 @@ pack_6ch_%2_to_%1_u_int %+ SUFFIX
     mov%3     m3, [srcq+src3q]
     mov%3     m4, [srcq+src4q]
     mov%3     m5, [srcq+src5q]
-    %7 x,x,x,x,m7,x
 %if cpuflag(sse)
     SBUTTERFLYPS 0, 1, 6
     SBUTTERFLYPS 2, 3, 6



More information about the ffmpeg-cvslog mailing list