[MPlayer-dev-eng] [PATCH] fix asm deps [RESENT]

Michael Niedermayer michaelni at gmx.at
Thu Mar 18 00:40:47 CET 2004


On Wednesday 17 March 2004 18:50, Dirk Mueller wrote:
> Hi,
> resending the patch. I've checked out gcc 2.95 and tested the patch with
> it. it compiles fine with gcc 2.95.
ok, it seems u missunderstood, the reason why the code is using MANGLE() 
instead of "m" to access some variables is because it didnt work the other 
way with some version of gcc, so it doesnt help if it compiles with ur gcc 
2.95.?, one or more of these asm statements will fail to compile or lead to 
incorrect code with some other gcc version, and theres also no reason why the 
problem should be fixed in this strange way anyway, the correct fix is to add 
attribute_used to the variables and define it to attribute((used)) if gcc 
supports it

level[i]= get_vlc(); i+=get_vlc();		(violates patent EP0266049)
median(mv[y-1][x], mv[y][x-1], mv[y+1][x+1]);	(violates patent #5,905,535)
buf[i]= qp - buf[i-1];				(violates patent #?)
for more examples, see http://mplayerhq.hu/~michael/patent.html
stop it, see http://petition.eurolinux.org & http://petition.ffii.org/eubsa/en

More information about the MPlayer-dev-eng mailing list