Subject: CVS commit: src
To: None <source-changes@NetBSD.org>
From: Andrew Doran <ad@netbsd.org>
List: source-changes
Date: 11/12/2007 18:42:01
Module Name:	src
Committed By:	ad
Date:		Mon Nov 12 18:42:01 UTC 2007

Modified Files:
	src/common/lib/libc/arch/i386/string: memcmp.S memcpy.S memset.S
	src/common/lib/libc/arch/x86_64/string: bcmp.S bcopy.S bzero.S memcmp.S
	    memset.S
	src/lib/libc/arch/i386/string: bcmp.S swab.S
	src/sys/arch/amd64/amd64: busfunc.S copy.S cpufunc.S
	src/sys/arch/i386/i386: busfunc.S copy.S cpufunc.S
	    darwin_commpage_machdep.S kvm86call.S

Log Message:
Don't unconditionally clear the direction flag. The ABI says it must always
be clear when making a function call, and 'cld' takes about 50 clock cyles
on the P4.


To generate a diff of this commit:
cvs rdiff -r1.1 -r1.2 src/common/lib/libc/arch/i386/string/memcmp.S
cvs rdiff -r1.2 -r1.3 src/common/lib/libc/arch/i386/string/memcpy.S \
    src/common/lib/libc/arch/i386/string/memset.S
cvs rdiff -r1.1 -r1.2 src/common/lib/libc/arch/x86_64/string/bcmp.S \
    src/common/lib/libc/arch/x86_64/string/bcopy.S \
    src/common/lib/libc/arch/x86_64/string/bzero.S \
    src/common/lib/libc/arch/x86_64/string/memcmp.S \
    src/common/lib/libc/arch/x86_64/string/memset.S
cvs rdiff -r1.8 -r1.9 src/lib/libc/arch/i386/string/bcmp.S
cvs rdiff -r1.12 -r1.13 src/lib/libc/arch/i386/string/swab.S
cvs rdiff -r1.3 -r1.4 src/sys/arch/amd64/amd64/busfunc.S
cvs rdiff -r1.7 -r1.8 src/sys/arch/amd64/amd64/copy.S
cvs rdiff -r1.1 -r1.2 src/sys/arch/amd64/amd64/cpufunc.S
cvs rdiff -r1.2 -r1.3 src/sys/arch/i386/i386/busfunc.S \
    src/sys/arch/i386/i386/cpufunc.S
cvs rdiff -r1.6 -r1.7 src/sys/arch/i386/i386/copy.S
cvs rdiff -r1.5 -r1.6 src/sys/arch/i386/i386/darwin_commpage_machdep.S
cvs rdiff -r1.7 -r1.8 src/sys/arch/i386/i386/kvm86call.S

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