This is the mail archive of the newlib@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]

[AArch64] add optimized strchrnul


Hot on the heels of yesterday's strchr patch, here's the implementation
of strchrnul.  This is, in fact, easier to compute than strchr, since we
always return a non-null result, so we don't have to track why we've
finished scanning.

2014-06-11  Richard Earnshaw  <rearnsha@arm.com>

	* libc/machine/aarch64/strchrnul.S: New file.
	* libc/machine/aarch64/strchrnul-stub.c: New file.
	* libc/machine/aarch64/Makefile.am: Add them to build list.
	* libc/machine/aarch64/Makefile.in: Regenerated.

Committed.

Attachment: strchrnul.patch
Description: Text document


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