[Mplayer-cvslog] CVS: main/postproc swscale_template.c,1.108,1.109

Aurelien Jacobs CVS syncmail at mplayerhq.hu
Fri Oct 22 02:22:00 CEST 2004


CVS change done by Aurelien Jacobs CVS

Update of /cvsroot/mplayer/main/postproc
In directory mail:/var2/tmp/cvs-serv16982/postproc

Modified Files:
	swscale_template.c 
Log Message:
10000l : fix a crash on x86 due to an horrible mistake in my x86_64 patch

Index: swscale_template.c
===================================================================
RCS file: /cvsroot/mplayer/main/postproc/swscale_template.c,v
retrieving revision 1.108
retrieving revision 1.109
diff -u -r1.108 -r1.109
--- swscale_template.c	21 Oct 2004 11:55:20 -0000	1.108
+++ swscale_template.c	22 Oct 2004 00:21:57 -0000	1.109
@@ -2049,8 +2049,8 @@
 			"mov %%"REG_a", %%"REG_BP"	\n\t"
 			".balign 16			\n\t"
 			"1:				\n\t"
-			"movzxw (%2, %%"REG_BP"), %%"REG_a"\n\t"
-			"movzxw 2(%2, %%"REG_BP"), %%"REG_b"\n\t"
+			"movzwl (%2, %%"REG_BP"), %%eax	\n\t"
+			"movzwl 2(%2, %%"REG_BP"), %%ebx\n\t"
 			"movq (%1, %%"REG_BP", 4), %%mm1\n\t"
 			"movq 8(%1, %%"REG_BP", 4), %%mm3\n\t"
 			"movd (%3, %%"REG_a"), %%mm0	\n\t"
@@ -2087,8 +2087,8 @@
 			"mov %%"REG_a", %%"REG_BP"	\n\t"
 			".balign 16			\n\t"
 			"1:				\n\t"
-			"movzxw (%2, %%"REG_BP"), %%"REG_a"\n\t"
-			"movzxw 2(%2, %%"REG_BP"), %%"REG_b"\n\t"
+			"movzwl (%2, %%"REG_BP"), %%eax	\n\t"
+			"movzwl 2(%2, %%"REG_BP"), %%ebx\n\t"
 			"movq (%1, %%"REG_BP", 8), %%mm1\n\t"
 			"movq 16(%1, %%"REG_BP", 8), %%mm3\n\t"
 			"movd (%3, %%"REG_a"), %%mm0	\n\t"
@@ -2136,8 +2136,8 @@
 			".balign 16			\n\t"
 			"1:				\n\t"
 			"mov %2, %%"REG_c"		\n\t"
-			"movzxw (%%"REG_c", %0), %%"REG_a"\n\t"
-			"movzxw 2(%%"REG_c", %0), %%"REG_b"\n\t"
+			"movzwl (%%"REG_c", %0), %%eax	\n\t"
+			"movzwl 2(%%"REG_c", %0), %%ebx	\n\t"
 			"mov %5, %%"REG_c"		\n\t"
 			"pxor %%mm4, %%mm4		\n\t"
 			"pxor %%mm5, %%mm5		\n\t"




More information about the MPlayer-cvslog mailing list