[Mplayer-cvslog] CVS: main/libvo osd.c,1.11,1.12
Nick Kurshev
nick at mplayer.dev.hu
Sun Nov 11 18:14:59 CET 2001
Update of /cvsroot/mplayer/main/libvo
In directory mplayer:/var/tmp.root/cvs-serv11245/main/libvo
Modified Files:
osd.c
Log Message:
Use new logic suggested by Michael Niedermayer
K7:
Non-MMX stuff
total=299997790
Old-MMX stuff:
total=159120928
New-MMX stuff:
total=80925337
Index: osd.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/osd.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- osd.c 11 Nov 2001 16:09:19 -0000 1.11
+++ osd.c 11 Nov 2001 17:14:57 -0000 1.12
@@ -73,6 +73,7 @@
"pcmpeqb %%mm6, %%mm6\n\t" // F..F
::"m"(*dst),"m"(*srca),"m"(*src):"memory");
for(x=0;x<w;x+=2){
+ if(srca[x] || srca[x+1])
asm volatile(
PREFETCHW" 32%0\n\t"
PREFETCH" 32%1\n\t"
@@ -174,6 +175,7 @@
"pcmpeqb %%mm6, %%mm6\n\t" // F..F
::"m"(*dstbase),"m"(*srca),"m"(*src):"memory");
for(x=0;x<w;x+=2){
+ if(srca[x] || srca[x+1])
asm volatile(
PREFETCHW" 32%0\n\t"
PREFETCH" 32%1\n\t"
More information about the MPlayer-cvslog
mailing list