[MPlayer-dev-eng] [PATCH] vf_osd take two

Jason Tackaberry tack at sault.org
Wed Sep 7 23:15:17 CEST 2005


On Wed, 2005-09-07 at 23:00 +0200, Michael Niedermayer wrote:
> > > > +            : "=r" (dst),
> > > > +              "=r" (src),
> > > > +              "=r" (osd),
> > > > +              "=r" (alpha)
> > > > +            : "m" (c) 
> > > > +            : "%ecx", "memory");

> now "=r" (src) is a output so you may change it which you do but you expect
> its initial value to be src which well is not guranteed

I see.  Then given that I change each of %1,%2,%3,%4 (I add $8 in the
inner loop), I ought to change all of those to +r?  Is there a semantic
difference between "+r" (foo) and "=r" (foo) : "0" (foo)?  If it's
strictly a matter of style, is there a preference for code in mplayer?

Thanks for the explanation.

Jason.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 229 bytes
Desc: This is a digitally signed message part
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20050907/1b8e5670/attachment.pgp>


More information about the MPlayer-dev-eng mailing list