On Wed, 11 Jan 2012, Ronald S. Bultje wrote:

> From: Henrik Gramner <[email protected]>
>
> This is required to handle clobbering of XMM registers on Win64
> correctly. Fixes FFT and all tests depending on FFT on Win64.
>
> --- a/libavcodec/x86/fft_mmx.asm
> +++ b/libavcodec/x86/fft_mmx.asm
> @@ -639,9 +639,11 @@ 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
>  DECL_FFT 4, _3dn

And INIT_MMX, or the 3dnow version will sigill.

--Loren Merritt
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to