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
This commit is contained in:
tsutsui 2006-05-14 14:27:14 +00:00
parent 34b3f04168
commit d90fe882d9
2 changed files with 6 additions and 4 deletions

View File

@ -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

View File

@ -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