[FFmpeg-cvslog] r11889 - trunk/libavutil/mem.h

Rich Felker dalias
Mon Feb 11 21:26:18 CET 2008


On Mon, Feb 11, 2008 at 08:04:33PM +0100, Balatoni Denes wrote:
> Hi!
> 
> Monday 11 February 2008 20:50-kor M?ns Rullg?rd ezt ?rta:
> > Rich Felker <dalias at aerifal.cx> writes:
> > > Umm, does configure really detect the support of asm without actually
> > > checking for it?? Somehow I doubt this. It should at least look for
> > > the __GNUC stuff or attempt to compile a file with inline asm..
> >
> > There are checks for the various instruction sets used by inline asm.
> > AFAIK, all inline asm depends on one or more of these checks being
> > successful.  If this is not the case, I'd be happy to amend the
> > configure script.
> 
> I might be wrong, but iirc swscale has generic x86 asm optimizations. There 
> was also cabac in generic x86 asm iirc.

I'd like to recommend the removal of all uname-based arch detection,
and instead just attempt compiling some asm instructions unique to the
arch to detect arch. This will solve the problem completely rather
than relying on stupid heuristics that are already unfriendly to
cross-compiling.

Rich




More information about the ffmpeg-cvslog mailing list