From d90fe882d9db76891ca3541f025ff55d2ecff042 Mon Sep 17 00:00:00 2001 From: tsutsui Date: Sun, 14 May 2006 14:27:14 +0000 Subject: [PATCH] Specify CPUFLAGS for Rm523x: > makeoptions CPUFLAGS="-mips2 -Wa,-mips2 -Wa,-mtune=rm5230" before: 5693.654u 1059.921s 1:52:29.76 100.0% 0+0k 310+8815io 2493pf+0w after: 5680.013u 983.282s 1:51:00.49 100.0% 0+0k 311+9015io 2494pf+0w --- sys/arch/cobalt/conf/GENERIC | 5 +++-- sys/arch/cobalt/conf/INSTALL | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/sys/arch/cobalt/conf/GENERIC b/sys/arch/cobalt/conf/GENERIC index 432e75370455..8a5c81e84dda 100644 --- a/sys/arch/cobalt/conf/GENERIC +++ b/sys/arch/cobalt/conf/GENERIC @@ -1,4 +1,4 @@ -# $NetBSD: GENERIC,v 1.94 2006/04/15 13:33:05 tsutsui Exp $ +# $NetBSD: GENERIC,v 1.95 2006/05/14 14:27:14 tsutsui Exp $ # # GENERIC machine description file # @@ -22,7 +22,7 @@ include "arch/cobalt/conf/std.cobalt" options INCLUDE_CONFIG_FILE # embed config file in kernel binary -#ident "GENERIC-$Revision: 1.94 $" +#ident "GENERIC-$Revision: 1.95 $" maxusers 32 @@ -56,6 +56,7 @@ options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel options DDB # kernel dynamic debugger #options DDB_HISTORY_SIZE=100 # enable history editing in DDB #makeoptions DEBUG="-g" # compile full symbol table +makeoptions CPUFLAGS="-mips2 -Wa,-mips2 -Wa,-mtune=rm5230" # Compatibility options options COMPAT_43 # compatibility with 4.3BSD binaries diff --git a/sys/arch/cobalt/conf/INSTALL b/sys/arch/cobalt/conf/INSTALL index d0a4e9898508..fe5b3bdc836c 100644 --- a/sys/arch/cobalt/conf/INSTALL +++ b/sys/arch/cobalt/conf/INSTALL @@ -1,4 +1,4 @@ -# $NetBSD: INSTALL,v 1.19 2006/04/15 13:33:05 tsutsui Exp $ +# $NetBSD: INSTALL,v 1.20 2006/05/14 14:27:14 tsutsui Exp $ # # INSTALL -- installation and rescue kernel. # @@ -10,9 +10,10 @@ include "arch/cobalt/conf/std.cobalt" options INCLUDE_CONFIG_FILE # embed config file in kernel binary -#ident "INSTALL-$Revision: 1.19 $" +#ident "INSTALL-$Revision: 1.20 $" makeoptions COPTS="-Os -mmemcpy" +makeoptions CPUFLAGS="-mips2 -Wa,-mips2 -Wa,-mtune=rm5230" maxusers 32