This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: i386 inline-asm string functions - some questions
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.