aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/x86
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2016-01-08 12:08:42 -0300
committerJames Almer <jamrial@gmail.com>2016-01-08 16:14:27 -0300
commit4ee38ed7f9038fb20ecef10811bc204603b4f6ee (patch)
treee79b8d7c8a512fed47362e3fe16d74282738fae6 /libavutil/x86
parent7f520524f67a583164724d030aec57bad8b1d61f (diff)
downloadffmpeg-4ee38ed7f9038fb20ecef10811bc204603b4f6ee.tar.gz
x86/float_dsp: zero extend len from ff_butterflies_float_sse implicitly
Reviewed-by: Christophe Gisquet <christophe.gisquet@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavutil/x86')
-rw-r--r--libavutil/x86/float_dsp.asm5
1 files changed, 1 insertions, 4 deletions
diff --git a/libavutil/x86/float_dsp.asm b/libavutil/x86/float_dsp.asm
index 6ac2aa85d0..743e1c1bf2 100644
--- a/libavutil/x86/float_dsp.asm
+++ b/libavutil/x86/float_dsp.asm
@@ -359,10 +359,7 @@ cglobal scalarproduct_float, 3,3,2, v1, v2, offset
;-----------------------------------------------------------------------------
INIT_XMM sse
cglobal butterflies_float, 3,3,3, src0, src1, len
-%if ARCH_X86_64
- movsxd lenq, lend
-%endif
- shl lenq, 2
+ shl lend, 2
add src0q, lenq
add src1q, lenq
neg lenq