On Thu, 23 Sep 2010 at 18:40:40 +0400, Alexey I. Froloff wrote:
> On Thu, Sep 23, 2010 at 04:21:49PM +0200, Andreas Tscharner wrote:
> > > Inline assembly doesn't makes sense with modern compilers.
> Oh, I'm sorry, this was more common than I wanted to say.
> 
> > I think the ffmpeg developers would not agree with you.
> I doubt wrlib was made to process 512kbps stream in realtime ;-)
> However, FFmpeg built with CMOV optimisation shows ~1%
> performance improvement.
> 
> First of all, assembly optimisations are very platform-dependant.
> Next, for every processor you have to implement several
> realisations, for ix86 they are MMX, SSE, 3DNow!, SSE4, SSE4.2
> and so on.  Hand-made MMX (as in our case) almost useless on
> current hardware and compilers...

Perhaps we should use the -march= kind of optimization that gcc 
offers by doing some detection voodoo in the configure script.

I'll check what -march=core2 does here...


-- 
To unsubscribe, send mail to [email protected].

Reply via email to