[Mplayer-cvslog] CVS: main/postproc swscale.c,1.21,1.22 swscale.h,1.1,1.2

Nick Kurshev nickols_k at mail.ru
Mon Oct 29 19:36:42 CET 2001


Hello, Michael!
On Sun, 28 Oct 2001 21:43:06 +0200, you wrote:

> Hi
> 
> On Sunday 28 October 2001 20:08, Nick Kurshev wrote:
> > Hello, Michael!
> ...
> > [snip]
> >
> > I've study your stuff. Let me some minor warnings:
> > 1. Why you don't use SFENCE?
> oops
> > 2. Why you ignore 3DNOW optimization?
> do i?!
> >
> > I want suggest you to make some changes:
> >
> > 1.
> > #include "../mmx_defs.h"
> ok
> 
> >
> > 2.
> > It would be more readable to have:
> > -			MOVNTQ(%%mm0, (%4, %%eax, 4))\
> > -			MOVNTQ(%%mm2, 8(%4, %%eax, 4))\
> > -			MOVNTQ(%%mm1, 16(%4, %%eax, 4))\
> > -			MOVNTQ(%%mm3, 24(%4, %%eax, 4))\
> > +			MOVNTQ" %%mm0, (%4, %%eax, 4)\n\t"\
> > +			MOVNTQ" %%mm2, 8(%4, %%eax, 4)\n\t"\
> > +			MOVNTQ" %%mm1, 16(%4, %%eax, 4)\n\t"\
> > +			MOVNTQ" %%mm3, 24(%4, %%eax, 4)\n\t"\
> > (Althrough it's looks like cosmetic)
> i dont see why this would be better
> 
Simply because it produces additional warning - your MOVNTQ redefines MOVNTQ from ../mmx_defs.h
But if you want - I'm ready suppress every warning from this stuff.
(If yes - then please don't commit everything related with this stuff during next day)
[snip]
> not ok, because it might slow things down, and i never touch data after 
> movntq so i doubt it would have any effect
> 
>and even if i would touch it, it would be ok, i checked intels software 
>developer manual because i wasnt 100% certain about it.
>sfence is only required if something else than this cpu accesses the data, 
>for example an other cpu or a pci card via busmastering
It's not clear from Intel's documentation.


More information about the MPlayer-cvslog mailing list