[MPlayer-dev-eng] Compile with gcc4 on x86

Guillaume Poirier poirierg at gmail.com
Thu Apr 14 22:44:30 CEST 2005


Hi,

On 4/14/05, Vladimir Kondratiev <vladimir.kondratiev at intel.com> wrote:
> Hi,
> attached is patch to compile mplayer with gcc4.
> number of problems fixed.
> Most "real" ones are (1) "X" vs. "m" in inline asm in mmx.h and (2)
> several cases when expression was specified for "m" (memory) for inline
> asm. gcc4 generates incorrect asm in 1-st case and report "memory
> location not directly addressable" in 2-nd.
> Rest of fixes are trivial.
> 
> I verified on all movies I have that it works.
> 
> Patch applies to last CVS version I downloaded, MPlayer-20050413
> 
> Regards, Vladimir

Thanks a lot Vladimir!
I've tested your patch on my AMD-64, and it works really well.
I just hope this patch can make it to the next release, as the new
upcoming Fedora Core will use GCC-4 by default.
I haven't tested the performance difference though...

Regards,
Guillaume




More information about the MPlayer-dev-eng mailing list