Home | History | Annotate | only in /src/lib/libc/arch/sh3/string
History log of /src/lib/libc/arch/sh3/string
RevisionDateAuthorComments
 1.5 30-Jul-2009  dsl If SRCS contains any .S files then remove the corresponding .c file from
SRCS and add to LSRCS (for lint).
Change the 'string' Makefiles so that the arch/*/string/Makefile.inc
need only specify the .S files for that architecture and not the .c
files for all the files they don't override.
 1.4 18-Jul-2009  dsl Remove references to index.c and rindex.c (strchr.c and strrchr.c
now provide the definitions).
 1.3 20-Nov-2002  itohy Assembly version of string functions.
Originally from SHIMIZU Ryo.
 1.2 24-Aug-2002  itohy Use assembly version of ffs(3).
 1.1 05-Jan-2000  msaitoh branches: 1.1.6;
libc for SH3.
TODO: fplib
 1.1.6.2 10-Dec-2002  thorpej Sync with HEAD.
 1.1.6.1 27-Aug-2002  nathanw Catch up to -current.
 1.3 23-Apr-2006  uwe Now that bcopy.S doesn't contain the actual implemenation, move it
back to libc.
 1.2 22-Dec-2005  christos move to the common tree.
 1.1 20-Nov-2002  itohy branches: 1.1.2;
Assembly version of string functions.
Originally from SHIMIZU Ryo.
 1.1.2.2 10-Dec-2002  thorpej Sync with HEAD.
 1.1.2.1 20-Nov-2002  thorpej file bcopy.S was added on branch nathanw_sa on 2002-12-10 06:25:44 +0000
 1.1 20-Nov-2002  itohy branches: 1.1.2;
Assembly version of string functions.
Originally from SHIMIZU Ryo.
 1.1.2.2 10-Dec-2002  thorpej Sync with HEAD.
 1.1.2.1 20-Nov-2002  thorpej file bzero.S was added on branch nathanw_sa on 2002-12-10 06:25:45 +0000
 1.5 20-Dec-2005  christos Use reach-over sources from common/lib/libc
 1.4 01-Sep-2002  itohy Save 1-4 instructions on all cases except for the ret=0 case.

This is probably the last version from me. :)
You are welcome to speed it up, of course. :)

Here's a benchmark on SH-4 200MHz.
9.2% faster if all the cases occur evenly.

return value C version previous vers this version speed ratio
of ffs() (ns/call) *1 (ns/call) (ns/call) *2 (*1/*2)
 1.3 28-Aug-2002  itohy Slightly improved version of ffs(3).
Partially from SHIMIZU Ryo <ryo@iij.ad.jp>. Thanks.
Some cases are slower, but other most cases are faster.

Here's a benchmark on SH-4 200MHz.

return value C version previous vers this version speed ratio
of ffs() (ns/call) *1 (ns/call) (ns/call) *2 (*1/*2)
 1.2 24-Aug-2002  itohy branches: 1.2.2;
Oops, SYSLIBC_SCCS -> LIBC_SCCS
 1.1 24-Aug-2002  itohy Assembly version of ffs(3).
Confirmed to return the same value as that of the C version.

The results of a simple benchmark on SH-4 200MHz, is shown below.
I think this shows acceptable performance.

return value C version this version speed
of ffs() (ns/call) (ns/call) ratio
 1.2.2.3 17-Sep-2002  nathanw Catch up to -current.
 1.2.2.2 27-Aug-2002  nathanw Catch up to -current.
 1.2.2.1 24-Aug-2002  nathanw file ffs.S was added on branch nathanw_sa on 2002-08-27 23:49:28 +0000
 1.2 20-Dec-2005  christos Use reach-over sources from common/lib/libc
 1.1 20-Nov-2002  itohy branches: 1.1.2;
Assembly version of string functions.
Originally from SHIMIZU Ryo.
 1.1.2.2 10-Dec-2002  thorpej Sync with HEAD.
 1.1.2.1 20-Nov-2002  thorpej file memcpy.S was added on branch nathanw_sa on 2002-12-10 06:25:45 +0000
 1.2 20-Dec-2005  christos Use reach-over sources from common/lib/libc
 1.1 20-Nov-2002  itohy branches: 1.1.2;
Assembly version of string functions.
Originally from SHIMIZU Ryo.
 1.1.2.2 10-Dec-2002  thorpej Sync with HEAD.
 1.1.2.1 20-Nov-2002  thorpej file memmove.S was added on branch nathanw_sa on 2002-12-10 06:25:45 +0000
 1.2 20-Dec-2005  christos Use reach-over sources from common/lib/libc
 1.1 20-Nov-2002  itohy branches: 1.1.2;
Assembly version of string functions.
Originally from SHIMIZU Ryo.
 1.1.2.2 10-Dec-2002  thorpej Sync with HEAD.
 1.1.2.1 20-Nov-2002  thorpej file memset.S was added on branch nathanw_sa on 2002-12-10 06:25:45 +0000

RSS XML Feed