Module Name: src Committed By: matt Date: Sat Jan 30 23:49:31 UTC 2010
Modified Files: src/sys/arch/mips/conf [matt-nb5-mips64]: Makefile.mips src/sys/arch/mips/include [matt-nb5-mips64]: cpu.h types.h src/sys/arch/mips/mips [matt-nb5-mips64]: genassym.cf locore.S locore_mips1.S mipsX_subr.S vm_machdep.c Log Message: Change MIPS_CURLWP from s7 to t8. In a MALTA64 kernel, s6 is used 9155 times which means the compiler could really use s7 is was free to do so. The least used temporary was t8 (288 times). Once the kernel was switched to use t8 for MIPS_CURLWP, s7 was used 7524 times. Additionally a MALTA32 kernel shrunk by 6205 instructions (24820 bytes) or about 1% of its text size. [For some reason, pre-change t1 was never used and post change t2 was never used. Not sure why.] To generate a diff of this commit: cvs rdiff -u -r1.50.24.4 -r1.50.24.5 src/sys/arch/mips/conf/Makefile.mips cvs rdiff -u -r1.90.16.15 -r1.90.16.16 src/sys/arch/mips/include/cpu.h cvs rdiff -u -r1.43.36.11 -r1.43.36.12 src/sys/arch/mips/include/types.h cvs rdiff -u -r1.44.12.11 -r1.44.12.12 src/sys/arch/mips/mips/genassym.cf cvs rdiff -u -r1.167.38.6 -r1.167.38.7 src/sys/arch/mips/mips/locore.S cvs rdiff -u -r1.64.26.1.2.5 -r1.64.26.1.2.6 \ src/sys/arch/mips/mips/locore_mips1.S cvs rdiff -u -r1.26.36.1.2.20 -r1.26.36.1.2.21 \ src/sys/arch/mips/mips/mipsX_subr.S cvs rdiff -u -r1.121.6.1.2.7 -r1.121.6.1.2.8 \ src/sys/arch/mips/mips/vm_machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.