No subject


Mon Jul 5 14:03:39 CEST 2010


can produce better code that gcc now, but I hope that in the
future gcc will be improved enough for that.

2. Althrough your code was enough well scheduled but first lines could be scheduled
better (in addition they are first thing which watch everyone) :

--- swscale.old	Tue Oct 30 18:58:42 2001
+++ swscale.c	Tue Oct 30 20:53:27 2001
@@ -113,10 +113,10 @@
 #define FULL_YSCALEYUV2RGB \
 		"pxor %%mm7, %%mm7		\n\t"\
 		"movd %6, %%mm6			\n\t" /*yalpha1*/\
-		"punpcklwd %%mm6, %%mm6		\n\t"\
-		"punpcklwd %%mm6, %%mm6		\n\t"\
 		"movd %7, %%mm5			\n\t" /*uvalpha1*/\
+		"punpcklwd %%mm6, %%mm6		\n\t"\
 		"punpcklwd %%mm5, %%mm5		\n\t"\
+		"punpcklwd %%mm6, %%mm6		\n\t"\
 		"punpcklwd %%mm5, %%mm5		\n\t"\
 		"xorl %%eax, %%eax		\n\t"\
 		"1:				\n\t"\


Friendly! Nick



More information about the MPlayer-dev-eng mailing list