[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS: cvs.openbsd.org: src



CVSROOT:	/cvs
Module name:	src
Changes by:	miod_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2008/05/21 13:45:38

Modified files:
	sys/arch/sh/include: cpu.h 
	sys/arch/sh/sh : cache_sh4.c 

Log message:
Not all cache operations need to be run from P2, so don't do this unless
necessary. Also, let the P2 functions return to P1 addresses, instead of
jumping to their own P1 image before returning. This gives a ~15% speedup.

>From NetBSD, thanks uwe_(_at_)_netbsd for spotting this in the sh4 docs!



Visit your host, monkey.org