# Invocation command line:
# /export/home/spec/bin/runspec -c k2_1cpu.cfg -a validate -r -u 12 -n 3 --reportable -T base,peak all
############################################################################

ext          = 2003feb06c


mach           = C


mean_anyway   = 1
tune           = base,peak
output_format  = asc
log_line_width = 132          # avoid choking vi


######################### Compiler selection #############################
# Use notes000n if you need to write notes about the compiler.

default=default=default=default:


SPECLANG=/export/home/compilers/EA2-FCS/20030128_k2/prod/bin
FC   = ${SPECLANG}/f90 
F77  = ${SPECLANG}/f90 
CC   = ${SPECLANG}/cc 
CXX  = ${SPECLANG}/CC 

notes0001 =Compiler invocation: 
notes0002 =  C: cc
notes0003 =  CXX: CC
notes0004 =  F90: f90
notes0005 =  F77: f90


#################### Baseline Optimization Flags ############################
# Use notes002n for baseline
# Notice that feedback is turned on by default, below!
default=base=default=default:
command_add_redirect=1
submit=echo 'pbind -b `expr \\\( \\\( $SPECUSERNUM / 4 \\\) \\\* 8 + \\\($SPECUSERNUM \\\% 4 \\\) \\\)` \$\$; $command' > dobmk; sh dobmk

int=base=default=default:
notes0020  =
notes0021  =Integer base flags:

ONESTEP        = yes
OPTIMIZE       = -fast -xipo=2 
notes0022  =     -fast -xipo=2 with ONESTEP=yes and feedback

#-------------------------------------------------------

fp=base=default=default:
notes0020  =
notes0021  =Floating point base flags:

ONESTEP           = yes                                                             

COPTIMIZE         = -fast -xipo=2 -xalias_level=std 
notes0022  =    C:  -fast -xipo=2 -xalias_level=std with ONESTEP=yes and feedback

FOPTIMIZE         = -fast -xipo=2
notes0023  =  F90:  -fast -xipo=2 with ONESTEP=yes and feedback

default=peak=default=default:
command_add_redirect=1
submit=echo 'pbind -b `expr \\\( \\\( $SPECUSERNUM / 4 \\\) \\\* 8 + \\\($SPECUSERNUM \\\% 4 \\\) \\\)` \$\$; $command' > dobmk; sh dobmk

######################### Integer Peak Flags ###########################
#  Use notes0nnn for peak, where nnn=benchmark number (where nnn >= 164)
# (Use notes010x for introductory peak notes)

int=peak=default=default:

notes0100 = 
notes0101 =Integer peak flags:

## Since we're using ONESTEP for all peak benchmarks, we can just turn
## it on here.  But note that there is no way to turn ONESTEP off.  So, 
## if you decide to to use it selectively, don't try saying "ONESTEP=no" 
## in individual benchmarks.  Instead, the following line would have to 
## be removed, and "ONESTEP=yes" added to all the benchmarks that need it.

ONESTEP       = yes
notes0102 = ONESTEP=yes and feedback for all benchmarks
notes0103 = 


#-------------------------------------------------------
164.gzip=peak=default=C:
OPTIMIZE                = -xO4  -xbuiltin=%all -xtarget=native -xalias_level=std -xipo=2 -Wc,-Qeps:enabled=1,-Qeps:rp_filtering_margin=100
notes164   = 164.gzip:    -xO4  -xbuiltin=%all -xtarget=native -xalias_level=std 
notes164_1 =              -xipo=2 -Wc,-Qeps:enabled=1,-Qeps:rp_filtering_margin=100

164.gzip=peak=default=J:
OPTIMIZE                = -xO5 -xbuiltin=%all -xtarget=native -xalias_level=std -xipo=2 -Wc,-Qeps:enabled=1,-Qeps:rp_filtering_margin=100
notes164   = 164.gzip:    -xO5 -xbuiltin=%all -xtarget=native -xalias_level=std 
notes164_1 =              -xipo=2 -Wc,-Qeps:enabled=1,-Qeps:rp_filtering_margin=100

#-------------------------------------------------------
175.vpr=peak=default=default:
OPTIMIZE                = -fast -xalias_level=std -xipo=2 -Wc,-Qeps:enabled=1,-Qeps:rp_filtering_margin=100  
MATHLIBOPT              = -lmopt -lm
notes175   = 175.vpr:     -fast -xalias_level=std -xipo=2 
notes175_1 =              -Wc,-Qeps:enabled=1,-Qeps:rp_filtering_margin=100 -lmopt -lm

#-------------------------------------------------------
176.gcc=peak=default=default:
OPTIMIZE                = -fast -xipo=2 
EXTRA_LIBS              = -ll2amm
notes176   = 176.gcc:     -fast -xipo=2 -ll2amm

#-------------------------------------------------------
181.mcf=peak=default=C:
OPTIMIZE                = -fast -xipo=2 -xprefetch_level=3 -Wc,-Qeps:enabled=1
notes181   = 181.mcf:     -fast -xipo=2 -xprefetch_level=3 -Wc,-Qeps:enabled=1

181.mcf=peak=default=J:
OPTIMIZE                = -fast -xipo=2 -xprefetch_level=3 -Wc,-Qeps:enabled=1 -W2,-Apf:llist=3:noinnerllist  
notes181   = 181.mcf:     -fast -xipo=2 -xprefetch_level=3 -Wc,-Qeps:enabled=1 
notes181_1 =              -W2,-Apf:llist=3:noinnerllist  

#-------------------------------------------------------
186.crafty=peak=default=default:
OPTIMIZE                = -fast -xinline= -xipo=2 -xalias_level=strong -W2,-Ashort_ldst  
PASS2_CFLAGS            = -xprofile=use:./feedback -xlinkopt 
notes186   = 186.crafty:  -fast -xinline= -xipo=2 -xalias_level=strong -W2,-Ashort_ldst 
notes186_1 =              Feedback adds -xlinkopt in PASS2

#-------------------------------------------------------
197.parser=peak=default=default:
OPTIMIZE                = -fast -xipo=2 -xalias_level=strong -Wc,-Qgsched-T6,-Qipa:valueprediction  
notes197   = 197.parser:  -fast -xipo=2 -xalias_level=strong 
notes197_1 =              -Wc,-Qgsched-T6,-Qipa:valueprediction  

#-------------------------------------------------------
252.eon=peak=default=default:
OPTIMIZE                = -fast -xipo=2 -xalias_level=compatible -noex -Qoption cg -Qeps:enabled=1,-Qeps:ws=32
notes252   = 252.eon:     -fast -xipo=2 -xalias_level=compatible -noex 
notes252_1 =              -Qoption cg -Qeps:enabled=1,-Qeps:ws=32

#-------------------------------------------------------
253.perlbmk=peak=default=default:
OPTIMIZE                = -xO5 -xtarget=native -xipo -xalias_level=std -xsafe=mem -Wc,-Qeps:enabled=1,-Qeps:ws=8,-Qiselect-sw_pf_tbl_th=20,-Qiselect-funcalign=32,-Qicache-chbab=1 
notes253   = 253.perlbmk: -xO5 -xtarget=native -xipo -xalias_level=std -xsafe=mem 
notes253_1 =              -Wc,-Qeps:enabled=1,-Qeps:ws=8,-Qiselect-sw_pf_tbl_th=20,
notes253_2 =              -Qiselect-funcalign=32,-Qicache-chbab=1 

#-------------------------------------------------------
254.gap=peak=default=default:
OPTIMIZE                = -fast -xipo=2 -xalias_level=strong -xvector -xprefetch_level=3 -W2,-Abcopy 
notes254   = 254.gap:     -fast -xipo=2 -xalias_level=strong -xvector 
notes254_1 =              -xprefetch_level=3 -W2,-Abcopy 

#-------------------------------------------------------
255.vortex=peak=default=default:
OPTIMIZE                = -fast -xrestrict -xipo=2 -W2,-crit,-Ainline:recursion=1:cs=500:irs=6000 -Wc,-Qeps:enabled=1,-Qdepgraph-early_cross_call=1,-Qiselect-funcalign=32,-Qpeep-Sh0  
EXTRA_LIBS              = -ll2amm 
notes255   = 255.vortex:  -fast -xrestrict -xipo=2 
notes255_1 =              -W2,-crit,-Ainline:recursion=1:cs=500:irs=6000 
notes255_2 =              -Wc,-Qeps:enabled=1,-Qdepgraph-early_cross_call=1,
notes255_3 =              -Qiselect-funcalign=32,-Qpeep-Sh0 -ll2amm

#-------------------------------------------------------
256.bzip2=peak=default=C:
OPTIMIZE                = -fast -xipo -xalias_level=strong -xrestrict -Wc,-Qeps:enabled=1
notes256   = 256.bzip2:   -fast -xipo -xalias_level=strong -xrestrict 
notes256_1 =              -Wc,-Qeps:enabled=1

256.bzip2=peak=default=J:
OPTIMIZE                = -fast -xipo=2 -xalias_level=strong -xrestrict -Wc,-Qeps:enabled=1
notes256   = 256.bzip2:   -fast -xipo=2 -xalias_level=strong -xrestrict 
notes256_1 =              -Wc,-Qeps:enabled=1

#-------------------------------------------------------
300.twolf=peak=default=default:
OPTIMIZE                = -fast -xalias_level=strong -xsafe=mem -xipo=2 -xprefetch=no%auto -Wc,-Qms_pipe+intdivusefp
notes300   = 300.twolf:   -fast -xalias_level=strong -xsafe=mem -xipo=2 
notes300_1 =              -xprefetch=no%auto -Wc,-Qms_pipe+intdivusefp

##################### Floating Point Peak Flags #####################
#  Use notes0nnn for peak, where nnn=benchmark number (where nnn >= 164)
# (Use notes010x for introductory peak notes)

fp=peak=default=default:

notes0100 = 
notes0101 =Floating point peak flags:

## Since we're using ONESTEP for all peak benchmarks, we can just turn
## it on here.  But note that there is no way to turn ONESTEP off.  So, 
## if you decide to to use it selectively, don't try saying "ONESTEP=no" 
## in individual benchmarks.  Instead, the following line would have to 
## be removed, and "ONESTEP=yes" added to all the benchmarks that need it.

ONESTEP    = yes
notes0102  = ONESTEP=yes and feedback for all benchmarks, unless otherwise noted
notes0103  = 

#-------------------------------------------------------
168.wupwise=peak=default=default:
OPTIMIZE                = -fast -xipo=2 -Qoption iropt -Ainline:inc=800:cp=1
notes168   = 168.wupwise: -fast -xipo=2 -Qoption iropt -Ainline:inc=800:cp=1

#-------------------------------------------------------
171.swim=peak=default=C:
OPTIMIZE                = -fast -xpad=common:3969 -xpagesize=64K -xprefetch=latx:1.6 -Qoption iropt -Atile:skewp,-Ainline:cs=700 
feedback                = 0
notes171   = 171.swim:    -fast -xpad=common:3969 -xpagesize=64K -xprefetch=latx:1.6 
notes171_1 =              -Qoption iropt -Atile:skewp,-Ainline:cs=700 
notes171_2 =              (no feedback) 

171.swim=peak=default=J:
OPTIMIZE                = -fast -xpad=common:384 -xprefetch=latx:1.6 -Qoption iropt -Atile:skewp:b6,-Ainline:cs=700 
feedback                = 0
notes171   = 171.swim:    -fast -xpad=common:384 -xprefetch=latx:1.6 
notes171_1 =              -Qoption iropt -Atile:skewp:b6,-Ainline:cs=700 
notes171_2 =              (no feedback)
 
#-------------------------------------------------------
172.mgrid=peak=default=default:
F77OPTIMIZE             = -fast -xipo=2
notes172   = 172.mgrid:   -fast -xipo=2

#-------------------------------------------------------
173.applu=peak=default=default:
OPTIMIZE                = -fast -xipo=2 -Qoption cg -Qlp=1-av=192-fa=1,-Qms_pipe+prefolim=7 -Qoption iropt -Aujam:inner=g
notes173   = 173.applu:   -fast -xipo=2 
notes173_1 =              -Qoption cg -Qlp=1-av=192-fa=1,-Qms_pipe+prefolim=7 
notes173_2 =              -Qoption iropt -Aujam:inner=g

#-------------------------------------------------------
177.mesa=peak=default=default:
OPTIMIZE                = -fast -xipo=2 -xalias_level=strong -xrestrict -Wc,-Qms_pipe+unoovf 
notes177   = 177.mesa:    -fast -xipo=2 -xalias_level=strong -xrestrict 
notes177_1 =              -Wc,-Qms_pipe+unoovf 

#-------------------------------------------------------
178.galgel=peak=default=default:
OPTIMIZE                = -fast -xipo=2 -Qoption iropt -Addint:sf=9 
EXTRA_LIBS              = -xlic_lib=sunperf
RM_SOURCES              = lapak.f90
notes178   = 178.galgel:  -fast -xipo=2 -Qoption iropt -Addint:sf=9 -xlic_lib=sunperf
notes178_1 =              RM_SOURCES=lapak.f90

#-------------------------------------------------------
179.art=peak=default=C:
COPTIMIZE               = -fast -xipo=2 -xalias_level=std -Wc,-Qms_pipe-prefst,-Qms_pipe+prefolim=11
notes179   = 179.art:     -fast -xipo=2 -xalias_level=std 
notes179_1 =              -Wc,-Qms_pipe-prefst,-Qms_pipe+prefolim=11

179.art=peak=default=J:
COPTIMIZE               = -fast -xipo=2 -xalias_level=std -xprefetch=latx:1.5
notes179   = 179.art:     -fast -xipo=2 -xalias_level=std -xprefetch=latx:1.5
 
#-------------------------------------------------------
183.equake=peak=default=default:
OPTIMIZE                = -fast -xipo=2 -xalias_level=strong -xprefetch_level=2
notes183   = 183.equake:  -fast -xipo=2 -xalias_level=strong -xprefetch_level=2

#-------------------------------------------------------
187.facerec=peak=default=C:
FOPTIMIZE               = -fast -xipo=2
notes187   = 187.facerec: -fast -xipo=2
 
187.facerec=peak=default=J:
OPTIMIZE                = -fast -xipo=2 -xprefetch=latx:1.5
notes187   = 187.facerec: -fast -xipo=2 -xprefetch=latx:1.5

#-------------------------------------------------------
188.ammp=peak=default=C:
OPTIMIZE                = -fast -xipo=2 -xalias_level=std -xpagesize=512K
MATHLIBOPT              = -lmopt -lm
notes188   = 188.ammp:    -fast -xipo=2 -xalias_level=std -xpagesize=512K -lmopt -lm

188.ammp=peak=default=J:
OPTIMIZE                = -fast -xipo=2 -xalias_level=std 
MATHLIBOPT              = -lmopt -lm
notes188   = 188.ammp:    -fast -xipo=2 -xalias_level=std -lmopt -lm
 
#-------------------------------------------------------
189.lucas=peak=default=default:
OPTIMIZE                = -fast -xipo=2 -xprefetch_level=3 -Qoption iropt -Apf:pdl=1 -Qoption f90comp -array_pad_rows,1977 
notes189   = 189.lucas:   -fast -xipo=2 -xprefetch_level=3 -Qoption iropt -Apf:pdl=1 
notes189_1 =              -Qoption f90comp -array_pad_rows,1977 

#-------------------------------------------------------
191.fma3d=peak=default=default:
OPTIMIZE                = -fast -xipo=2 -stackvar -xprefetch_level=3 -Qoption iropt -Apf:pdl=1 
notes191   = 191.fma3d:   -fast -xipo=2 -stackvar -xprefetch_level=3 
notes191_1 =              -Qoption iropt -Apf:pdl=1 

#-------------------------------------------------------
200.sixtrack=peak=default=default:
OPTIMIZE                = -O -dalign -xchip=ultra3 -xarch=v8plusb -fsimple=2
notes200   = 200.sixtrack:-O -dalign -xchip=ultra3 -xarch=v8plusb -fsimple=2

#-------------------------------------------------------
301.apsi=peak=default=default:
OPTIMIZE                = -fast -xipo=2
notes301   = 301.apsi:    -fast -xipo=2


########################### Feedback ######################################
# Use notes5nnn for feedback 

default=default=default=default:
# This turns feedback on for *all* benchmarks: base, peak, int, fp.  
# Note that you can turn feedback off as needed using "feedback=0"

notes5000    = 
notes5001    =Feedback is done as follows, unless otherwise noted:

fdo_pre0                = rm -rf ./feedback.profile ./SunWS_cache
notes5002    = fdo_pre0:  rm -rf ./feedback.profile ./SunWS_cache

PASS1_CFLAGS            = -xprofile=collect:./feedback
PASS1_FFLAGS            = -xprofile=collect:./feedback 
PASS1_CXXFLAGS          = -xprofile=collect:./feedback
PASS1_LDFLAGS           = -xprofile=collect:./feedback 
notes5003    = PASS1:     -xprofile=collect:./feedback 

PASS2_CFLAGS            = -xprofile=use:./feedback
PASS2_FFLAGS            = -xprofile=use:./feedback 
PASS2_CXXFLAGS          = -xprofile=use:./feedback
PASS2_LDFLAGS           = -xprofile=use:./feedback 
notes5004    = PASS2:     -xprofile=use:./feedback 


######################### Portability Flags #############################
# Use notes8nnn for portability, where nnn=benchmark number

notes8000 =
notes8001 =Portability:

178.galgel=default=default=default:
EXTRA_FFLAGS             = -e -fixed
notes8178   = 178.galgel:  -e -fixed

176.gcc=default=default=default:
EXTRA_CFLAGS             = -Dalloca=__builtin_alloca -DHOST_WORDS_BIG_ENDIAN
notes8176   = 176.gcc:     -Dalloca=__builtin_alloca -DHOST_WORDS_BIG_ENDIAN

186.crafty=default=default=default:
EXTRA_CFLAGS             = -DSUN
notes8186   = 186.crafty:  -DSUN

252.eon=default=default=default:
EXTRA_CXXFLAGS           = -library=iostream
notes8252   = 252.eon:     -library=iostream

253.perlbmk=default=default=default:
EXTRA_CFLAGS             = -DSPEC_CPU2000_SOLARIS
notes8253   = 253.perlbmk: -DSPEC_CPU2000_SOLARIS

254.gap=default=default=default:
EXTRA_CFLAGS             = -DSYS_IS_USG -DSYS_HAS_TIME_PROTO -DSYS_HAS_SIGNAL_PROTO -DSYS_HAS_CALLOC_PROTO -DSYS_HAS_IOCTL_PROTO
notes8254   = 254.gap:     -DSYS_IS_USG -DSYS_HAS_TIME_PROTO -DSYS_HAS_SIGNAL_PROTO 
notes8254_1 =              -DSYS_HAS_CALLOC_PROTO -DSYS_HAS_IOCTL_PROTO

######################### Environment notes  #############################
# Use notes 90nn for environment notes

default=default=default=default:
notes9000     =
notes9001     =Shell Environments:
notes9002     =  Stack size set to unlimited via "ulimit -s unlimited"
notes9003     =  MPSSHEAP=4M
notes9004     =  MPSSSTACK=4M
notes9005     =  LD_PRELOAD=mpss.so.1

notes9300     =
notes9301     =Kernel Parameters (/etc/system):
notes9302     =  default
notes9303     =

######################### Machine/tester description ###################
#
# Enter machine configuration information here, to be recorded in
# reporting pages, following the example shown below
#
default=default=default=default:
hw_vendor     = Sun Microsystems
tester_name   = Sun Microsystems
company_name  = Sun Microsystems
# Note that company_name is not printed unless it differs from hw_vendor

hw_memory     = 8GB 4-way interleaved

hw_disk       = 2 x 18GB

hw_model      = Sun Fire 280R (1015MHz)
hw_cpu        = UltraSPARC III Cu 
hw_cpu_mhz    = 1015
hw_fpu        = Integrated
hw_ncpu       = 2
hw_ncpuorder  = 1-2
hw_parallel   = No
hw_pcache     = 32KBI+64KBD on chip
hw_scache     = 8MB(I+D) off chip
hw_tcache     = None
hw_ocache     = None
hw_other      = None
hw_avail      = Sep-2002
sw_os         = Solaris 9 12/02
sw_state      = Single-User
sw_avail      = May-2003
license_num   = 6
test_date     = Feb-2003

sw_compiler00 = Sun ONE Studio 8 (pre-FCS build 1/28)
sw_compiler01 = Sun Performance Library 8 (pre-FCS build 1/28)

sw_file       = ufs with ufs logging

########################################################################