x86/vp9dsp: fix clobbering of xmm6 on IDCT sse2 functions
authorJames Almer <jamrial@gmail.com>
Sun, 8 Feb 2015 01:30:04 +0000 (22:30 -0300)
committerJames Almer <jamrial@gmail.com>
Sun, 8 Feb 2015 03:50:39 +0000 (00:50 -0300)
Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/x86/vp9itxfm.asm

index 64859a0..bfe427f 100644 (file)
@@ -407,6 +407,9 @@ IDCT_4x4_FN ssse3
 %macro IADST4_FN 5
 INIT_MMX %5
 cglobal vp9_%1_%3_4x4_add, 3, 3, 6 + notcpuflag(ssse3), dst, stride, block, eob
+%if WIN64 && notcpuflag(ssse3)
+WIN64_SPILL_XMM 7
+%endif
     movdqa            xmm5, [pd_8192]
     mova                m0, [blockq+ 0]
     mova                m1, [blockq+ 8]