[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnu-arch-users] hackerlab str_ functions performance

From: Yann Droneaud
Subject: Re: [Gnu-arch-users] hackerlab str_ functions performance
Date: Sun, 05 Sep 2004 12:41:29 +0200
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

Florian Weimer <address@hidden> writes:

> * Yann Droneaud:
>> Just checkout :
>> /usr/include/bits/string.h
>> There are some assembler function here at least on i386 (for other
>> architecture i'm not sure). 
> Recent GCC versions don't use these inline functions.

In fact, i previously tought inlined assembler functions were included
if __OPTIMIZE__ is defined (gcc -O2 define it), but as stated in the end
of /usr/include/string.h:

     These optimizations are not used unless the symbol

So /usr/include/bits/string.h content is rarely used,
but /usr/include/bits/string2.h is use.

Andrew Suffield was right.

Yann Droneaud (aka Meuh) <address@hidden> |
Une vache perdue sur Internet | A cow lost in the Internet
1024D/BEA43321   5D91 B5B0 5137 B8FE 6882  FE19 CAA0 6F05 BEA4 3321

reply via email to

[Prev in Thread] Current Thread [Next in Thread]