This is the mail archive of the newlib-cvs@sourceware.org mailing list for the newlib project.


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

src/newlib ChangeLog libc/string/memchr.c libc ...


CVSROOT:	/cvs/src
Module name:	src
Changes by:	jjohnstn@sourceware.org	2008-05-26 23:31:08

Modified files:
	newlib         : ChangeLog 
	newlib/libc/string: memchr.c 
	newlib/libc/machine/i386: memchr.S 

Log message:
	2008-05-26  Eric Blake  <ebb9@byu.net>
	
	Optimize the generic and x86 memchr.
	* libc/string/memchr.c (memchr) [!__OPTIMIZE_SIZE__]:
	Pre-align pointer so unaligned searches aren't penalized.
	* libc/machine/i386/memchr.S (memchr) [!__OPTIMIZE_SIZE__]: Word
	operations are faster than repnz byte searches.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/newlib/ChangeLog.diff?cvsroot=src&r1=1.1160&r2=1.1161
http://sourceware.org/cgi-bin/cvsweb.cgi/src/newlib/libc/string/memchr.c.diff?cvsroot=src&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/src/newlib/libc/machine/i386/memchr.S.diff?cvsroot=src&r1=1.3&r2=1.4


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