[FFmpeg-devel] [PATCH] update doc/optimization.txt

Michael Niedermayer michaelni
Tue Sep 21 11:50:41 CEST 2010


On Tue, Sep 21, 2010 at 10:36:02AM +0100, M?ns Rullg?rd wrote:
> Michael Niedermayer <michaelni at gmx.at> writes:
> 
> >> The function call overhead is exactly the same with yasm or C,
> >> assuming the C compiler doesn't generate ridiculous prologues and
> >> epilogues.  Please stop claiming anything else.  Nobody is talking
> >> about asm that actually gets inlined.
> >
> > thats not true, the split asm cases surely where inlined and a 1:1
> > conversion to yasm would have had additional call overhead.
> 
> Nobody ever suggested doing that.  We've always been talking about
> whole functions, be they written C or yasm.  Now stop making straw man
> arguments, please.

you talk about optimizing C code to asm and converting inline
to yasm both in one patch and use it as argument why yasm is better.
But its the C->asm optimization that makes it better not inline->yasm

its hardly a strawman argument to point out that there are 2 unrelated changes
and the advantages of one hardly are arguments why the other is a good idea

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The real ebay dictionary, page 2
"100% positive feedback" - "All either got their money back or didnt complain"
"Best seller ever, very honest" - "Seller refunded buyer after failed scam"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100921/a06f3cc9/attachment.pgp>



More information about the ffmpeg-devel mailing list