This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Remove some string2.h optimizations for gcc 3.0+


Jakub Jelinek <jakub@redhat.com> writes:

> 2002-01-23  Jakub Jelinek  <jakub@redhat.com>
> 
> 	* string/bits/string2.h (__mempcpy): For gcc 3.0+, don't use
> 	__mempcpy_small but instead use __builtin_memcpy ( , , n) + n for
> 	short lengths and constant src.
> 	(strcpy): Don't optimize for gcc 3.0+.
> 	* (__stpcpy): For gcc 3.0+, don't use
> 	__stpcpy_small but instead use __builtin_strcpy (, src) + strlen (src)
> 	for short string literal src.

I've applied this now.  Thanks,

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]