Subject: CVS commit: src/lib/libc/arch/i386/string
To: None <source-changes@NetBSD.org>
From: David Laight <dsl@netbsd.org>
List: source-changes
Date: 02/03/2005 22:05:01
Module Name: src
Committed By: dsl
Date: Thu Feb 3 22:05:01 UTC 2005
Modified Files:
src/lib/libc/arch/i386/string: bzero.S memset.S
Log Message:
A faster implementation.
'rep stos' is slow to setup on modern processors, so don't use it to
align the transfer.
Also not that 8 byte alignment is faster on Intel processors
To generate a diff of this commit:
cvs rdiff -r1.9 -r1.10 src/lib/libc/arch/i386/string/bzero.S \
src/lib/libc/arch/i386/string/memset.S
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.