i386 inline-asm string functions - some questions

Denis Zaitsev zzz@anda.ru
Mon Dec 29 20:00:00 GMT 2003


On Mon, Dec 29, 2003 at 12:31:52AM -0500, Daniel Jacobowitz wrote:
> Funny, I conducted this experiment last week and found quite the
> opposite.  Compiling the demangler and a smallish yacc parser
> with -D__NO_STRING_INLINES cost about 20% in runtime.

-D__NO_STRING_INLINES just puts the inlining off.  But nobody here
tells about the inline/noinline comparing.  Of course, inlining is
better at speed.  The comparison is doing between some versions of the
inlining.

> I'm not convinced.

If it's possible, please try you experiment with "memory" vs. "m"
versions of inlines.  I will send the patch to you, if it's needed.



More information about the Gcc mailing list