[MPlayer-dev-eng] MPlayer and gcc ia32 intrinsics

Rich Felker dalias at aerifal.cx
Tue Nov 22 23:44:02 CET 2005


On Tue, Nov 22, 2005 at 11:09:42PM +0100, Aurelien Jacobs wrote:
> On Tue, 22 Nov 2005 16:54:52 -0500
> Jason Tackaberry <tack at sault.org> wrote:
> 
> > On Tue, 2005-11-22 at 22:34 +0200, Jan Knutar wrote:
> > > They don't work with gcc 2.95.3?
> > 
> > What if the SIMD code was simply disabled (fall back to C) for gcc < 3?
> 
> IIRC gcc is somewhat buggy about intrinsics and sometimes produce
> very slow code.
> Converting the intrinsics to inline asm() statement is probably the
> solution. (at least that would be consistent with other MPlayer parts)
> Could you show the current intrinsics patch ?

Yes, intrinsics are strongly discouraged and personally I would object
to their inclusion at all. If you want to write cpu-specific
optimizations like this, use inline asm.

Rich




More information about the MPlayer-dev-eng mailing list