[Mplayer-cvslog] CVS: main/postproc rgb2rgb.c,1.6,1.7

Nick Kurshev nick at mplayer.dev.hu
Sun Oct 28 14:06:51 CET 2001


Update of /cvsroot/mplayer/main/postproc
In directory mplayer:/var/tmp.root/cvs-serv6529/main/postproc

Modified Files:
	rgb2rgb.c 
Log Message:
More accurate prefetching

Index: rgb2rgb.c
===================================================================
RCS file: /cvsroot/mplayer/main/postproc/rgb2rgb.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- rgb2rgb.c	28 Oct 2001 12:02:16 -0000	1.6
+++ rgb2rgb.c	28 Oct 2001 13:06:49 -0000	1.7
@@ -37,9 +37,7 @@
 #ifdef PREFETCH
   __asm __volatile(
     PREFETCH" %0\n\t"
-    PREFETCH" 64%0\n\t"
-    PREFETCHW" %1\n\t"
-    PREFETCHW" 64%1\n\t"::"m"(*s),"m"(*dest):"memory");
+    ::"m"(*s):"memory");
 #endif
   mm_end = (uint8_t*)((((unsigned long)end)/16)*16);
   __asm __volatile("movq %0, %%mm7"::"m"(mask32):"memory");
@@ -47,9 +45,8 @@
   {
 #ifdef PREFETCH
     __asm __volatile(
-	PREFETCH" 128%0\n\t"
-	PREFETCHW" 128%1"
-	::"m"(*s),"m"(*dest):"memory");
+	PREFETCH" 32%0\n\t"
+	::"m"(*s):"memory");
 #endif
     __asm __volatile(
 	"movd	%1, %%mm0\n\t"




More information about the MPlayer-cvslog mailing list