[MPlayer-dev-eng] Patch against gcc4.0, and incorrect encoding of help_mp-zh_CN.h

Guillaume POIRIER guillaume.poirier at etudiant.univ-rennes1.fr
Fri Jun 24 00:16:46 CEST 2005


Le lundi 20 juin 2005 à 21:27 +0200, Reimar Döffinger a écrit :
> Hi,
> On Fri, Jun 17, 2005 at 04:31:36PM +0800, Funda Wang wrote:
> >  #define        mmx_r2r(op, regs, regd) \
> > @@ -367,8 +367,8 @@
> >         __asm__ __volatile__ ("movq %0, %%mm0\n\t" \
> >                               #op " %1, %%mm0\n\t" \
> >                               "movq %%mm0, %0" \
> > -                             : "=X" (memd) \
> > -                             : "X" (mems))
> > +                             : "=m" (memd) \
> > +                             : "m" (mems))
> 
> At least with some instructions this is not correct, since constants
> are possible, too. It would have to be at least "mi", I think.
> But why is this neccessary? latest CVS compiled fine for me with any
> combination of 32 and 64 bit, gcc 3.4 and gcc 4.0.
> At least with the attached patch (needed for gcc4 + 64 bit), which I
> am too lazy to send to the ffmpeg list (at the moment?).

Committed :-)

Guillaume




More information about the MPlayer-dev-eng mailing list