# Invocation command line:
# /data1/spec2k/bin/runspec -c s10ss11-v3.cfg -T base,peak -r -u 4 --reportable int
############################################################################
############################################################################
# Sun Studio 11 compiler config file
############################################################################

ext          = x52aug05sp

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


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

default=default=default=default:
FC   = f90 
F77  = f90 
CC   = cc 
CXX  = CC 

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


default=default=default=default:
command_add_redirect=1
submit=echo 'pbind -b $SPECUSERNUM \$\$; $command' > dobmk; sh dobmk



#################### Baseline Optimization Flags ############################
# Use notes002n for baseline
# Notice that feedback is turned on by default, below!

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

ONESTEP        = yes

COPTIMIZE       =  -fast  -xcrossfile -xalias_level=std 
CXXOPTIMIZE     =  -fast  -xcrossfile -xarch=amd64 

notes0022  =     Base tuning for C programs  : -fast  -xcrossfile -xalias_level=std +FDO ONESTEP=yes 
notes0023  =     Base tuning for C++ programs: -fast  -xcrossfile -xarch=amd64 +FDO ONESTEP=yes

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

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

ONESTEP           = yes                                                             

FOPTIMIZE         =  -fast -xipo=2 -xarch=amd64 -xprefetch_level=3    
notes0022  =  F90:   -fast -xipo=2 -xarch=amd64 -xprefetch_level=3 ONESTEP=yes

COPTIMIZE         =  -fast -xcrossfile -xalias_level=std -xpagesize=2m 
notes0023  =    C:   -fast -xcrossfile -xalias_level=std -xpagesize=2m ONESTEP=yes


##################### 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 +FDO for all benchmarks
notes0103 =



#-------------------------------------------------------
164.gzip=peak=default=default:
OPTIMIZE= -fast -xpagesize=2m -xcrossfile -M /usr/lib/ld/map.bssalign
notes164     = 164.gzip:     -fast -xpagesize=2m -xcrossfile -M /usr/lib/ld/map.bssalign

#-------------------------------------------------------
175.vpr=peak=default=default:
OPTIMIZE= -fast -xpagesize=2m -W2,-Ainline:inc=200:cs=500 -M /usr/lib/ld/map.bssalign
MATHLIBOPT              = -lmopt -lm
notes175     = 175.vpr:      -fast -xpagesize=2m -W2,-Ainline:inc=200:cs=500 -M /usr/lib/ld/map.bssalign -lmopt -lm

#-------------------------------------------------------
176.gcc=peak=default=default:
OPTIMIZE= -fast -xipo=2 -Wd,-iropt-prof -xalias_level=strong -xrestrict
notes176     = 176.gcc:     -fast -xipo=2 -Wd,-iropt-prof -xalias_level=strong -xrestrict

#-------------------------------------------------------
181.mcf=peak=default=default:
OPTIMIZE= -fast -xpagesize=2m -xcrossfile -M /usr/lib/ld/map.bssalign
notes181     = 181.mcf:      -fast -xpagesize=2m -xcrossfile -M /usr/lib/ld/map.bssalign

#-------------------------------------------------------
186.crafty=peak=default=default:
OPTIMIZE              = -fast -xrestrict -xipo=2 -xprefetch -xarch=amd64 -xpagesize=2m -M /usr/lib/ld/map.bssalign -Wd,-iropt-prof -W2,-Ashort_ldst:ldld -W2,-Ainline:rs=50
notes186      = 186.crafty:   -fast -xrestrict -xipo=2 -xprefetch -xarch=amd64 -xpagesize=2m
notes186_1    =                -M /usr/lib/ld/map.bssalign -Wd,-iropt-prof -W2,-Ashort_ldst:ldld 
notes186_2    =                -W2,-Ainline:rs=50 

#-------------------------------------------------------
197.parser=peak=default=default:
OPTIMIZE= -fast -xpagesize=2m -xipo=2 -W2,-Ainline:inc=200:cs=500 -M /usr/lib/ld/map.bssalign
notes197     = 197.parser:   -fast -xpagesize=2m -xipo=2 -W2,-Ainline:inc=200:cs=500 -M /usr/lib/ld/map.bssalign

#-------------------------------------------------------
252.eon=peak=default=default:
OPTIMIZE            = -fast -xipo=2 -qoption CC -iropt-prof -xvector -qoption iropt -Abcopy -xalias_level -xarch=amd64 -xrestrict -Qoption ube -xcallee=yes -xregs=frameptr
notes252     = 252.eon:      -fast -xipo=2 -qoption CC -iropt-prof -xvector -qoption iropt -Abcopy -xalias_level
notes252_1   =               -xarch=amd64 -xrestrict -Qoption ube -xcallee=yes -xregs=frameptr


#-------------------------------------------------------
253.perlbmk=peak=default=default:
OPTIMIZE=  -fast -xcrossfile  -M /usr/lib/ld/map.bssalign
EXTRA_LIBS              = -lbsdmalloc
notes253     = 253.perlbmk:  -fast -xcrossfile  -M /usr/lib/ld/map.bssalign -lbsdmalloc

#-------------------------------------------------------
254.gap=peak=default=default:
OPTIMIZE              = -fast -xipo=2 -Wd,-iropt-prof -xvector -W2,-Abcopy -lbsdmalloc -xprefetch -W2,-Ainline:cp=5:rs=1300:irs=3300:inc=100 -W2,-Arestrict_g
notes254       = 254.gap:      -fast -xipo=2 -Wd,-iropt-prof -xvector -W2,-Abcopy -lbsdmalloc -xprefetch
notes254_1     =               -W2,-Ainline:cp=5:rs=1300:irs=3300:inc=100 -W2,-Arestrict_g


#-------------------------------------------------------
255.vortex=peak=default=default:
OPTIMIZE              = -fast -xipo=2 -Wd,-iropt-prof -lbsdmalloc -xrestrict -xprefetch -M /usr/lib/ld/map.bssalign
notes255     = 255.vortex:  -fast -xipo=2 -Wd,-iropt-prof -lbsdmalloc -xrestrict -xprefetch -M /usr/lib/ld/map.bssalign

 

#-------------------------------------------------------
256.bzip2=peak=default=default:
OPTIMIZE= -fast -xpagesize=2m -xcrossfile -xarch=sse2 -Xc -M /usr/lib/ld/map.bssalign
EXTRA_LIBS              = -lbsdmalloc
notes256     = 256.bzip2:    -fast -xpagesize=2m -xcrossfile -xarch=sse2 -Xc -M /usr/lib/ld/map.bssalign -lbsdmalloc

#-------------------------------------------------------
300.twolf=peak=default=default:
OPTIMIZE              = -fast -xipo=2 -Wd,-iropt-prof -xrestrict -M /usr/lib/ld/map.bssalign
notes300     = 300.twolf:    -fast -xipo=2 -Wd,-iropt-prof -xrestrict -M /usr/lib/ld/map.bssalign

##################### 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 for all benchmarks
notes0103  = 

#-------------------------------------------------------
168.wupwise=peak=default=default:
OPTIMIZE = -fast -xpad=common:3969 -xipo=2 -xarch=amd64 -xprefetch_level=3  -xpagesize_heap=2m
notes168   = 168.wupwise:   -fast -xpad=common:3969 -xipo=2 -xarch=amd64 -xprefetch_level=3  -xpagesize_heap=2m

#-------------------------------------------------------
171.swim=peak=default=default:
OPTIMIZE =  -fast -xpad=common:3969 -xipo=2 -xvector=simd -xprefetch_level=3 -Qoption iropt -Atile:skewp,-Ainline:cs=700 -xarch=amd64 -Qoption ube_ipa -inl_alt -xpagesize_stack=2m
notes171   = 171.swim:      -fast -xpad=common:3969 -xipo=2 -xvector=simd -xprefetch_level=3 -Qoption iropt 
notes171_1 =                -Atile:skewp,-Ainline:cs=700 -xarch=amd64 -Qoption ube_ipa -inl_alt 
notes171_2 =                -xpagesize_stack=2m
 
#-------------------------------------------------------
172.mgrid=peak=default=default:
OPTIMIZE = -fast -stackvar -xpad=common:900 -xipo=2 -xarch=amd64 -xprefetch_level=3 -xvector -xpagesize=2m -Qoption ld -M,/usr/lib/ld/map.bssalign
notes172   = 172.mgrid:     -fast -stackvar -xpad=common:900 -xipo=2 -xarch=amd64 -xprefetch_level=3 -xvector 
notes172_1 =                -xpagesize=2m -Qoption ld -M,/usr/lib/ld/map.bssalign

#-------------------------------------------------------
173.applu=peak=default=default:
OPTIMIZE = -fast -stackvar -xO4 -xipo=2 -xprefetch_level=3 -xarch=amd64 -qoption iropt -Rloop_dist -xpagesize_heap=2m
notes173   = 173.applu:     -fast -stackvar -xO4 -xipo=2 -xprefetch_level=3 -xarch=amd64 
notes173_1 =                -qoption iropt -Rloop_dist -xpagesize_heap=2m

#-------------------------------------------------------
177.mesa=peak=default=default:
OPTIMIZE = -fast -xO4 -xipo=2 -Wd,-iropt-prof -xarch=amd64 -xalias_level=strong -xpagesize=2m
fdo_pre0                = rm -rf ./feedback.profile
fdo_post1               = if [ ! -d ./feedback.profile ]; then exit 1;  fi
PASS1_CFLAGS            = -xprofile=collect:./feedback
PASS1_LDFLAGS           = -xprofile=collect:./feedback 
PASS2_CFLAGS            = -xprofile=use:./feedback
PASS2_LDFLAGS           = -xprofile=use:./feedback 
notes177   = 177.mesa:      -fast -xO4 -xipo=2 -Wd,-iropt-prof -xarch=amd64 -xalias_level=strong -xpagesize=2m +FDO

#-------------------------------------------------------
178.galgel=peak=default=default:
FOPTIMIZE = -fast -xipo=2 -xpagesize_heap=2m -xprefetch_level=3 -xvector=simd -xarch=amd64
EXTRA_LIBS              = -xlic_lib=sunperf
RM_SOURCES              = lapak.f90
notes178   = 178.galgel:   -fast -xipo=2 -xpagesize_heap=2m -xprefetch_level=3 -xvector=simd -xarch=amd64
notes178_1 =                RM_SOURCES=lapak.f90
notes178_2 =                EXTRALIBS=-xlic_lib=sunperf

#-------------------------------------------------------
179.art=peak=default=default:
basepeak=yes
notes179   = 179.art:       basepeak=yes

#-------------------------------------------------------
183.equake=peak=default=default:
OPTIMIZE  = -fast -xipo=2 -xprefetch -xalias_level=strong -xpagesize=2m
MATHLIBOPT              = -lmopt -lm
fdo_pre0                = rm -rf ./feedback.profile
PASS1_CFLAGS            = -xprofile=collect:./feedback
PASS1_LDFLAGS           = -xprofile=collect:./feedback 
PASS2_CFLAGS            = -xprofile=use:./feedback
PASS2_LDFLAGS           = -xprofile=use:./feedback 
notes183   = 183.equake:    -fast -xipo=2 -xprefetch -xalias_level=strong -xpagesize=2m -lmopt -lm +FDO

#-------------------------------------------------------
187.facerec=peak=default=default:
FOPTIMIZE  = -fast  -xO4 -xipo=2 -xprefetch_level=3 -xpagesize=2m 
EXTRA_LIBS              = -xlic_lib=sunperf
RM_SOURCES              = cfftb.f90 cffti.f90 cfftf.f90
notes187     = 187.facerec:   -fast -xO4 -xipo=2 -xprefetch_level=3 -xpagesize=2m 
notes187_1   =                RM_SOURCES=cfftb.f90 cffti.f90 cfftf.f90
notes187_2   =                EXTRALIBS=-xlic_lib=sunperf

#-------------------------------------------------------
188.ammp=peak=default=default:
OPTIMIZE  = -fast -xO4 -xipo=2 -xarch=amd64 -xalias_level=std -xpagesize_heap=2m
MATHLIBOPT              = -lmopt -lm
notes188   = 188.ammp:      -fast -xO4 -xipo=2 -xarch=amd64 -xalias_level=std -xpagesize_heap=2m -lmopt -lm

#-------------------------------------------------------
189.lucas=peak=default=default:
basepeak=yes
notes189   = 189.lucas:     basepeak=yes

#-------------------------------------------------------
191.fma3d=peak=default=default:
OPTIMIZE  = -fast -fsimple=1 -xipo=2 -xprefetch_level=3 -xarch=amd64 -xpagesize_heap=2m
fdo_pre0                = rm -rf ./feedback.profile
fdo_post1               = if [ ! -d ./feedback.profile ]; then exit 1;  fi
PASS1_FFLAGS            = -xprofile=collect:./feedback
PASS1_LDFLAGS           = -xprofile=collect:./feedback 
PASS2_FFLAGS            = -xprofile=use:./feedback
PASS2_LDFLAGS           = -xprofile=use:./feedback 
notes191   = 191.fma3d:     -fast -fsimple=1 -xipo=2 -xprefetch_level=3 -xarch=amd64 -xpagesize_heap=2m +FDO

#-------------------------------------------------------
200.sixtrack=peak=default=default:
OPTIMIZE  = -fast -xipo=2 -O -xprefetch_level=3 -xarch=amd64 -xpagesize_heap=2m -Qoption ld -M,/usr/lib/ld/map.bssalign
fdo_pre0                = rm -rf ./feedback.profile 
PASS1_FFLAGS            = -xprofile=collect:./feedback
PASS1_LDFLAGS           = -xprofile=collect:./feedback
PASS2_FFLAGS            = -xprofile=use:./feedback
PASS2_LDFLAGS           = -xprofile=use:./feedback
notes200     = 200.sixtrack:  -fast -xipo=2 -O -xprefetch_level=3 -xarch=amd64 -xpagesize_heap=2m 
notes200_1   =                -Qoption ld -M,/usr/lib/ld/map.bssalign +FDO

#-------------------------------------------------------
301.apsi=peak=default=default:
OPTIMIZE   = -fast -xO4 -xipo=2 -xprefetch_level=3 -xarch=amd64 -xpagesize=2m
notes301   = 301.apsi:      -fast -xO4 -xipo=2 -xprefetch_level=3 -xarch=amd64 -xpagesize=2m


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

default=default=default=default:
notes0008    =FDO:  PASS1= -xprofile=collect:./feedback PASS2= -xprofile=use:./feedback
notes0009    =      fdo_pre0:  rm -rf ./feedback.profile
notes0010    =    

int=default=default=default:

fdo_pre0                = rm -rf ./feedback.profile

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

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


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

notes8000 =
notes8001 =Portability:

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

186.crafty=default=default=default:
EXTRA_CFLAGS = -DUNIX -DHAS_LONGLONG -DLITTLE_ENDIAN_ARCH
notes8186   = 186.crafty:  -DUNIX -DHAS_LONGLONG -DLITTLE_ENDIAN_ARCH

252.eon=default=default=default:
EXTRA_CXXFLAGS=-DFMAX_IS_DOUBLE -DSPEC_CPU2000_LP64 -DUSE_STRERROR
notes8252   = 252.eon:     -DFMAX_IS_DOUBLE -DSPEC_CPU2000_LP64 -DUSE_STRERROR

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

254.gap=default=default=default:
EXTRA_CFLAGS= -DSYS_IS_USG -DSYS_HAS_SIGNAL_PROTO -DSYS_HAS_TIME_PROTO -DSYS_HAS_CALLOC_PROTO 
notes8254   = 254.gap:     -DSYS_IS_USG -DSYS_HAS_SIGNAL_PROTO -DSYS_HAS_TIME_PROTO -DSYS_HAS_CALLOC_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"

notes9300     =
notes9301     =Kernel Parameters (/etc/system):
notes9302     =  autoup=900
notes9303     =  tune_t_fsflushr=1   
notes9304     =          
notes9327     =System was tested with 2 chips configuration
notes9328     =      
notes9341     =Processes were bound to CPUs using submit=pbind       
notes9342     =      
notes9343     =Default BIOS setting was used 

######################### 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, Santa Clara
company_name  = Sun Microsystems
hw_model     = Sun Fire V40z 
hw_cpu       = AMD Opteron (TM) 854
hw_cpu_mhz   = 2800
hw_disk      = SCSI, 72GB, 10K RPM
hw_fpu       = Integrated
hw_memory    = 32GB (16x2GB, PC3200 CL3 DDR ECC Registered SDRAM)
hw_vendor    = Sun Microsystems 
hw_avail     = Oct-2005
hw_ncpu      = 4 cores, 4 chips, 1 core/chip
hw_ncpuorder = 2,4 (order by number of chips)
hw_ocache    = N/A
hw_other     = None
hw_parallel  = No
hw_pcache    = 64KBI + 64KBD (on chip) per core
hw_scache    = 1024KB (I+D) (on chip) per core
hw_tcache    = N/A
sw_file      = ufs
sw_os        = Solaris 10 3/05 HW1
sw_state     = Multi-user
prepared_by  = Gnanakumar Rajaram (Rajaram.Gnanakumar@SUN.COM)
hw_vendor    = Sun Microsystems
tester_name  = Sun Microsystems, Santa Clara
license_num  = 6
test_date    = Oct-2005
sw_avail     = Nov-2005
sw_compiler = Sun Studio 11

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