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] |
Completing the basic set of strchr like implementations, this patch adds an implementation of strrchr. This implementation avoids the overhead of repeated calls to strchr in the standard C code which can save significant amounts of time if there are multiple hits on the target character. Committed. 2014-12-08 Richard Earnshaw <rearnsha@arm.com> * libc/machine/aarch64/strrchr.S: New file. * libc/machine/aarch64/strrchr-stub.c: New file. * libc/machine/aarch64/Makefile.am: Add them to build list. * libc/machine/aarch64/Makefile.in: Regenerated.
Attachment:
strrchr.patch
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |