[FFmpeg-cvslog] fft: init functions with INIT_XMM/YMM.
Henrik Gramner
git at videolan.org
Thu Jan 12 01:22:47 CET 2012
ffmpeg | branch: master | Henrik Gramner <hengar-6 at student.ltu.se> | Wed Jan 11 17:40:34 2012 +0000| [e7d02b04dcfb65d1873b81bd3281442ac5ddec1d] | committer: Janne Grunau
fft: init functions with INIT_XMM/YMM.
This is required to handle clobbering of XMM registers on Win64
correctly. Fixes FFT and all tests depending on FFT on Win64.
Signed-off-by: Ronald S. Bultje <rsbultje at gmail.com>
Signed-off-by: Janne Grunau <janne-libav at jannau.net>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e7d02b04dcfb65d1873b81bd3281442ac5ddec1d
---
libavcodec/x86/fft_mmx.asm | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/libavcodec/x86/fft_mmx.asm b/libavcodec/x86/fft_mmx.asm
index 27276a1..d6d07b8 100644
--- a/libavcodec/x86/fft_mmx.asm
+++ b/libavcodec/x86/fft_mmx.asm
@@ -639,11 +639,14 @@ cglobal fft_dispatch%3%2, 2,5,8, z, nbits
%endmacro ; DECL_FFT
%ifdef HAVE_AVX
+INIT_YMM
DECL_FFT 6, _avx
DECL_FFT 6, _avx, _interleave
%endif
+INIT_XMM
DECL_FFT 5, _sse
DECL_FFT 5, _sse, _interleave
+INIT_MMX
DECL_FFT 4, _3dn
DECL_FFT 4, _3dn, _interleave
DECL_FFT 4, _3dn2
More information about the ffmpeg-cvslog
mailing list