summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2015-01-10 19:21:52 -0300
committerJames Almer <jamrial@gmail.com>2015-01-11 01:11:46 -0300
commit6abf00d615d2098d67faeb9b034265c9983bbefd (patch)
treede0a4552c00465b14d5e0072c5e34e304d750c41
parentc8f83a4c78e429ebd6184e5cd663fdf65c48b9cc (diff)
downloadffmpeg-6abf00d615d2098d67faeb9b034265c9983bbefd.tar.gz
x86/swr: load constants outside the loop in pack_6ch functions
Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r--libswresample/x86/audio_convert.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/libswresample/x86/audio_convert.asm b/libswresample/x86/audio_convert.asm
index f02370c90f..07d74587b8 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