1 Nov 2006 12:42
Re: Improved remove-logo filter
Trent Piepho <xyzzy <at> speakeasy.org>
2006-11-01 11:42:30 GMT
2006-11-01 11:42:30 GMT
On Wed, 1 Nov 2006, Michael Niedermayer wrote: > On Tue, Oct 31, 2006 at 01:13:29PM -0800, Trent Piepho wrote: > > On Tue, 31 Oct 2006, Guillaume POIRIER wrote: > > > > > Hi Trent, > > > > > > Were you able to work on improving your patch? > > > > What was there to do? Change the asm to use "+" constraints > > even though it doesn't always work with gcc 2.7.2? > > does gcc 2.7.2 compile mplayer at all? Sorry, I meant 2.95, but I'm not sure if that's the case. Some older gcc docs explictly say you can't use "+", newer ones say you can, but with various conditions (which change from version to version). You might also want to look at these threads: http://marc.theaimsgroup.com/?l=linux-kernel&m=107475162200773&w=2 http://lkml.org/lkml/2006/7/8/251 Using "+m" vs "=m"/"m" is a complex issue. > > and if you use "=something" then you should also be aware of that for example > "=r"(a) > :"r"(b) > > does not prevent %0 == %1 if you want an output to not be able to use the > same register or memory location as an random input then you must use "=&..."(Continue reading)
RSS Feed