[Mplayer-cvslog] CVS: main/libvo osd.c,1.8,1.9

Michael Niedermayer michaelni at gmx.at
Sun Nov 11 17:26:59 CET 2001


On Sunday 11 November 2001 17:15, Nick Kurshev wrote:
> Hello, Michael!
>
> On Sun, 11 Nov 2001 17:00:55 +0100 you wrote:
> > Hi
> >
> > On Sunday 11 November 2001 15:42, Nick Kurshev wrote:
> > > Update of /cvsroot/mplayer/main/libvo
> > > In directory mplayer:/var/tmp.root/cvs-serv4910/main/libvo
> > >
> > > Modified Files:
> > > 	osd.c
> > > Log Message:
> > > Enable MMX stuff
> > > I don't know why Michael Niedermayer disabled it but:
> >
> > because its slower (on my comp at least, but perhaps my fonts are too
> > large?)
> >
> > > my benchmarks of 25 frames for TIMER+SUBTITLE (measured by RDTSC):
> > > Non-MMX stuff:
> > >     total=306142159
> > > MMX stuff:
> > >     total=159534150
> >
> > ./mplayer -vo x11 -nosound
> > ~/Lorenna_McKennit-Mummers_Dance-Mononoke_Hime-gabucino.avi
> > Non-MMX
> > total=432128286
> > MMX
> > total=529391629
>
> It's strange. Btw - I used my "own" font - it is on mplayer's download
> page. (Arial 24)
yes, very strange
btw mmx is faster for me if i put "if(srca[x]!=0 && srca[x+1]!=0)" in front 
of the asm block
MMX
128814484
non-mmx
139757888

perhaps my p3 can handle the if() faster, that would explain it perhaps, do u 
know how the k7 or whatever cpu u have does branch prediction?
the intel chips can predict simple repeating patterns since the ppro and the 
transparent areas appear pretty predictable to me
perhaps gcc did just generate bad code for u, (cmov?)

Michael



More information about the MPlayer-cvslog mailing list