x86/scale: fix xmm register count for hscale*_sse2 n2.2.5
authorJames Almer <jamrial@gmail.com>
Mon, 9 Jun 2014 01:21:30 +0000 (22:21 -0300)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 15 Jul 2014 00:14:55 +0000 (02:14 +0200)
xmm6 was being clobbered in ff_hscale8to{15,19}_8_sse2 on Win64

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 345f2234d1717d6128b2f90a7839c4906bf203ec)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libswscale/x86/scale.asm

index 940f357..7af92f7 100644 (file)
@@ -424,7 +424,7 @@ INIT_MMX mmx
 SCALE_FUNCS2 0, 0, 0
 %endif
 INIT_XMM sse2
-SCALE_FUNCS2 6, 7, 8
+SCALE_FUNCS2 7, 6, 8
 INIT_XMM ssse3
 SCALE_FUNCS2 6, 6, 8
 INIT_XMM sse4