Subject: CVS commit: syssrc/sys/lib/libkern/arch/sh5
To: None <source-changes@netbsd.org>
From: Steve Woodford <scw@netbsd.org>
List: source-changes
Date: 10/17/2002 14:53:34
Module Name:	syssrc
Committed By:	scw
Date:		Thu Oct 17 11:53:34 UTC 2002

Modified Files:
	syssrc/sys/lib/libkern/arch/sh5: Makefile.inc
Added Files:
	syssrc/sys/lib/libkern/arch/sh5: imax.S imin.S lmax.S lmin.S max.S
	    memcpy.S memset.S min.S random.S scanc.S skpc.S strcasecmp.S
	    strcat.S strchr.S strcmp.S strcpy.S strlen.S strncasecmp.S
	    strncmp.S strncpy.S strrchr.S ulmax.S ulmin.S

Log Message:
Add native optimised assembler versions of some libkern routines.
The memcpy routine is courtesy of SuperH, with some tweaks by me.

XXX: There is room for further optimisation in some of these routines.


To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 syssrc/sys/lib/libkern/arch/sh5/Makefile.inc
cvs rdiff -r0 -r1.1 syssrc/sys/lib/libkern/arch/sh5/imax.S \
    syssrc/sys/lib/libkern/arch/sh5/imin.S \
    syssrc/sys/lib/libkern/arch/sh5/lmax.S \
    syssrc/sys/lib/libkern/arch/sh5/lmin.S \
    syssrc/sys/lib/libkern/arch/sh5/max.S \
    syssrc/sys/lib/libkern/arch/sh5/memcpy.S \
    syssrc/sys/lib/libkern/arch/sh5/memset.S \
    syssrc/sys/lib/libkern/arch/sh5/min.S \
    syssrc/sys/lib/libkern/arch/sh5/random.S \
    syssrc/sys/lib/libkern/arch/sh5/scanc.S \
    syssrc/sys/lib/libkern/arch/sh5/skpc.S \
    syssrc/sys/lib/libkern/arch/sh5/strcasecmp.S \
    syssrc/sys/lib/libkern/arch/sh5/strcat.S \
    syssrc/sys/lib/libkern/arch/sh5/strchr.S \
    syssrc/sys/lib/libkern/arch/sh5/strcmp.S \
    syssrc/sys/lib/libkern/arch/sh5/strcpy.S \
    syssrc/sys/lib/libkern/arch/sh5/strlen.S \
    syssrc/sys/lib/libkern/arch/sh5/strncasecmp.S \
    syssrc/sys/lib/libkern/arch/sh5/strncmp.S \
    syssrc/sys/lib/libkern/arch/sh5/strncpy.S \
    syssrc/sys/lib/libkern/arch/sh5/strrchr.S \
    syssrc/sys/lib/libkern/arch/sh5/ulmax.S \
    syssrc/sys/lib/libkern/arch/sh5/ulmin.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.