Subject: CVS commit: src/lib/libc/arch
To: None <source-changes@NetBSD.org>
From: David Laight <dsl@netbsd.org>
List: source-changes
Date: 11/23/2007 07:36:06
Module Name:	src
Committed By:	dsl
Date:		Fri Nov 23 07:36:05 UTC 2007

Modified Files:
	src/lib/libc/arch/i386: SYS.h
	src/lib/libc/arch/x86_64: SYS.h

Log Message:
Reorder the code for i386 and amd64 syscall stubs so that the 'jc' on error
is a forwards jump instead of a backwards jump that a P4 will mispredect (and
probably immediatly get a cache-line miss due to the way the code gets
aligned).


To generate a diff of this commit:
cvs rdiff -r1.21 -r1.22 src/lib/libc/arch/i386/SYS.h
cvs rdiff -r1.9 -r1.10 src/lib/libc/arch/x86_64/SYS.h

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