Subject: CVS commit: src/sys/arch/powerpc/ibm4xx
To: None <source-changes@NetBSD.org>
From: Simon Burge <simonb@netbsd.org>
List: source-changes
Date: 11/28/2007 12:22:28
Module Name:	src
Committed By:	simonb
Date:		Wed Nov 28 12:22:28 UTC 2007

Modified Files:
	src/sys/arch/powerpc/ibm4xx: trap.c

Log Message:
Use lswi/syswi instead of lwz/stw when doing loads/stores since we don't
know the alignment of data being copied.  403 cores have alignment
restrictions on lwz/stw that 405 cores don't have.  lswi/syswi benchmark
at the same speed as lwz/stw on a 405 Walnut.

Fixes problems reported by Juergen Hannken-Illjes on the Explora.


To generate a diff of this commit:
cvs rdiff -r1.46 -r1.47 src/sys/arch/powerpc/ibm4xx/trap.c

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