# Invocation command line:
# /usr/spec2000/bin/runspec -a validate -T all -v 6 -n 3 -s -r -u 2 -c /tmp/specdriver-139360.tmp7 fp
############################################################################
################################################################################
# SPEC CPU2000 Benchmark Config file IBM RS/6000 AIX
#  Last Changed: 9.20.01
################################################################################


#===============================================================================
# Global Options apply to all runs
#===============================================================================

VENDOR          = ibm
action          = validate
tune            = all
output_format   = all
runout          = yes
teeout          = yes
ext             = colt.f711.cpp5020
basepeak=0

#--number of times each test will be run (reportable must be and odd num >= 3)
iterations      = 3
Mean_anyway     = 0
ignore_errors   = 0

#--turn on both of the following for reportable (non-test) runs
reportable      = 1
check_md5       = 1

#--prevent log file lines that are too long for vi
log_line_width  = 156

#--the directory where pdf data will go, be sure to tell the compiler
#---where this is (eg: export PDFDIR="/tmp/pdfdir" for IBM compilers)
PDFDIR=/tmp/pdfdir

#===============================================================================
#===============================================================================

company_name    = IBM Corporation
machine_name    = 
hw_vendor       = IBM Corporation
hw_model        = IBM eServer pSeries 620 Model 6E1 
hw_cpu          = POWER3-II
hw_cpu_mhz      = 450
hw_fpu          = Integrated
hw_ncpu         = 4 
hw_ncpuorder    = 1,2
hw_pcache       = 32KBI+64KBD (on chip)
hw_scache       = 8MB unified (off chip)
hw_tcache       = None
hw_ocache       = None
hw_parallel     = No
hw_memory       = 2GB
hw_disk         = 2x18GB  10000RPM
hw_other        = None
hw_avail        = Oct-2001
sw_os           = AIX 5.1.0
sw_file         = AIX/JFS
sw_state        = Multi-user
sw_avail        = Dec-2001
license_num     = 11
tester_name     = IBM Corp.
test_date       = Sept-2001


#---------------------------------
# Floating point specific notes
#---------------------------------
fp=default=default=default:

sw_compiler01   = Fortran 77 and 90: IBM xl Fortran 7.1.1 invoked 
sw_compiler02   = as "xlf90"for Fortran 90 and as xlf for Fortran 77
sw_compiler03   = C: IBM VAC++ 5.0.2.0 invoked as "xlc"

notes001        = Portability Flags
notes002        =   -qfixed used in: wupwise, swim, mgrid, applu, galgel, sixtrack, apsi
notes003        =   -qsuffix=f=f90 used in: galgel, facerec, lucas, fma3d
notes004        = Base Optimization Flags:
notes005        =   Fortran:   -O5 -lmass
notes006        =   C:         -O5 -lmass
notes007        = Peak Optimization Flags
notes008        =   168.wupwise:  (basepeak=1) 
notes009        =   171.swim:     -qpdf1/pdf2 -O5 -lmass
notes010        =   172.mgrid:    (basepeak=1)
notes011        =   173.applu:    -O5 -lmass -qipa=partition=large
notes012        =   177.mesa:     -O5 -lmass -qipa=partition=large, fdpr -v -R3
notes013        =   178.galgel:   (basepeak=1)
notes014        =   179.art:      -O5 -lmass -qalign=natural
notes015        =   183.equake:   -O5 -lmass -lhmu -qinline
notes016        =   187.facerec:  (basepeak=1)
notes018        =   188.ammp:     -O3 -qarch=pwr3
notes019        =   189.lucas:    -qpdf1/pdf2 -O3 -lhmu -lmass
notes020        =                 -qipa=partition=large, fdpr -v -R3
notes021        =   191.fma3d:    -O4 -lmass -qipa=partition=large
notes022        =   200.sixtrack: (basepeak=1)
notes023        =   301.apsi:     (basepeak=1)
notes024        = fpdr: Feedback directed program restructuring tool
notes029        = /usr/spec2000 filesystem mounted with no JFS log file I/O
notes030        = APAR IY 21957 was applied to AIX 5.1.0 to enable new hardware support

#---------------------------------
# iNteger specific notes
#---------------------------------
int=default=default=default:

sw_compiler01   = C: IBM VAC++ 5.0.2.0 invoked as "cc" except where noted 
sw_compiler02   = as "xlc"
sw_compiler03   = C++: IBM VAC++ 5.0.2.0  invoked as "xlC"

notes001        = Portability Flags:
notes002        =   gcc:     -ma -qlanglvl=ansi -DHOST_WORDS_BIG_ENDIAN
notes003        =   crafty:  -DAIX
notes004        =   eon:     -DNEED_EXPLICIT_SPECIALIZATION
notes005        =   perlbmk: -DSPEC_CPU2000_AIX
notes006        =   gap:     -DSYS_IS_BSD -DSYS_STRING_H -DSYS_HAS_TIME_PROTO 
notes007        =            -DSYS_HAS_MALLOC_PROTO -DSYS_HAS_CALLOC_PROTO
notes008        =   twolf:   -DHAVE_SIGNED_CHAR
notes009        = Base Optimization Flags:
notes010        =   C:           -O4 -lmass fdpr -v -R3
notes011        =   C++:         -O4 -lmass fdpr -v -R3
notes012        = Peak Optimization Flags
notes013        =   164.gzip:    -O4 -lhmu, fdpr -v -R3
notes014        =   175.vpr:     -O5 -qunroll=8
notes015        =   176.gcc:     (basepeak=1)
notes016        =   181.mcf:     -O5
notes017        =   186.crafty:  -O3 -lhmu -q64
notes018        =   197.parser:  -qpdf1/pdf2 -O4 
notes019        =                -bnso -bI:/lib/syscalls.exp, fdpr -v -R3
notes020        =   252.eon:     -O4 -lmass, fdpr -v -R3
notes021        =   253.perlbmk: -qpdf1/pdf2 -O3 -lhmu -qarch=pwr3 -qdatalocal 
notes022        =                -qunroll=8, fdpr -v -R3
notes023        =   254.gap:     -O4 -qarch=pwr3, fdpr -v -R3
notes024        =   255.vortex:  -O3 -lhmu -lmass -qipa=partition=large,
notes025        =                fdpr -v -R3
notes026        =   256.bzip2:   -O5 -qunroll=8, fdpr -v -R3
notes027        =   300.twolf:   -qpdf1/pdf2 -O5, fdpr -v -R3
notes028        = fpdr: Feedback directed program restructuring tool
notes029        = /usr/spec2000 filesystem mounted with no JFS log file I/O
notes030        = APAR IY 21957 was applied to AIX 5.1.0 to enable new haredwaresupport
################################################################################
################################################################################
######                                                                    ######
######               DO NOT EDIT BELOW THIS BLOCK                         ######
######      (unless you are prepared to build new binaries)               ######
######                                                                    ######
################################################################################
################################################################################


#===============================================================================
# How the compilers are called
#    The settings used here are for IBM C/C++ and xl Fortran compilers
#===============================================================================
fp=default=default=default:
CC      = /usr/vacpp/bin/xlc
FC      = xlf90
F77     = xlf

int=default=default=default:
CC      = /usr/vacpp/bin/cc
CXX     = /usr/vacpp/bin/xlC

#===============================================================================
# Base Level Optimizations
#    Limited to 4 flags
#===============================================================================

#------------------------
# Floating Point
#------------------------
fp=base=default=default:

FOPTIMIZE =-O5 -lmass

COPTIMIZE =-O5 -lmass

#------------------------
# Integer
#------------------------
int=base=default=default:
COPTIMIZE=-O4 -lmass

#--C flags no feedback


#--C++ flags w/feedback

fdo_pre0 = rm -rf ${PDFDIR}; mkdir -p ${PDFDIR}
CXXOPTIMIZE=-O4 -lmass
fdo_run2 = fdpr -v -R3 -p $commandexe -x $command
fdo_post2 = cp ${baseexe}.fdpr $baseexe


#===============================================================================
# Floating Point Portability Flags
#     no optimizations allowed here
#===============================================================================

168.wupwise=default=default=default:
EXTRA_FFLAGS=-qfixed
171.swim=default=default=default:
EXTRA_FFLAGS=-qfixed
172.mgrid=default=default=default:
EXTRA_FFLAGS=-qfixed
173.applu=default=default=default:
EXTRA_FFLAGS=-qfixed
178.galgel=default=default=default:
EXTRA_FFLAGS=-qfixed -qsuffix=f=f90
187.facerec=default=default=default:
EXTRA_FFLAGS=-qsuffix=f=f90
189.lucas=default=default=default:
EXTRA_FFLAGS=-qsuffix=f=f90
191.fma3d=default=default=default:
EXTRA_FFLAGS= -qsuffix=f=f90
200.sixtrack=default=default=default:
EXTRA_FFLAGS=-qfixed
301.apsi=default=default=default:
EXTRA_FFLAGS=-qfixed

#===============================================================================
# Integer Portability Flags
#    no optimizations allowed here
#===============================================================================

176.gcc=default=default=default:
EXTRA_CFLAGS=-ma -qlanglvl=ansi -DHOST_WORDS_BIG_ENDIAN
186.crafty=default=default=default:
EXTRA_CFLAGS=-DAIX
252.eon=default=default=default:
EXTRA_CXXFLAGS=-DNEED_EXPLICIT_SPECIALIZATION
253.perlbmk=default=default=default:
EXTRA_CFLAGS=-DSPEC_CPU2000_AIX
254.gap=default=default=default:
EXTRA_CFLAGS=-DSYS_IS_BSD -DSYS_STRING_H -DSYS_HAS_TIME_PROTO -DSYS_HAS_MALLOC_PROTO -DSYS_HAS_CALLOC_PROTO
300.twolf=default=default=default:
EXTRA_CFLAGS=-DHAVE_SIGNED_CHAR

#===============================================================================
# Integer peak optimization flags
#===============================================================================

164.gzip=peak=default=default:

COPTIMIZE=-O4 -lhmu
fdo_run1 = fdpr -v -R3 -p $commandexe -x $command
fdo_post1 = cp ${baseexe}.fdpr $baseexe


175.vpr=peak=default=default:
COPTIMIZE=-O5 -qunroll=8

176.gcc=peak=default=default:
basepeak = 1

181.mcf=peak=default=default:
COPTIMIZE=-O5

186.crafty=peak=default=default:
COPTIMIZE=-O3 -lhmu -q64

197.parser=peak=default=default:
fdo_pre0 = rm -rf ${PDFDIR}; mkdir -p ${PDFDIR}
PASS1_CFLAGS=-qpdf1 -O4
PASS1_LDFLAGS=-O4 -lpdf -L/usr/vac/lib -bnso -bI:/lib/syscalls.exp
PASS2_CFLAGS=-qpdf2 -O4
PASS2_LDFLAGS=-O4 -bnso -bI:/lib/syscalls.exp
fdo_run2 = fdpr -v -R3 -p $commandexe -x $command
fdo_post2 = cp ${baseexe}.fdpr $baseexe

252.eon=peak=default=default:
fdo_pre0 = rm -rf ${PDFDIR}; mkdir -p ${PDFDIR}
CXXOPTIMIZE=-O4 -lmass
fdo_run2 = fdpr -v -R3 -p $commandexe -x $command
fdo_post2 = cp ${baseexe}.fdpr $baseexe

253.perlbmk=peak=default=default:
fdo_pre0 = rm -rf ${PDFDIR}; mkdir -p ${PDFDIR}
PASS1_CFLAGS    =-qpdf1 -O3 -qarch=pwr3 -qdatalocal -qunroll=8
PASS1_LDCFLAGS  =-lhmu -lpdf -L/usr/vac/lib
PASS2_CFLAGS    =-qpdf2 -O3 -qarch=pwr3 -qdatalocal -qunroll=8
PASS2_LDCFLAGS  =-lhmu
fdo_run2 = fdpr -v -R3 -p $commandexe -x $command
fdo_post2 = cp ${baseexe}.fdpr $baseexe

254.gap=peak=default=default:
COPTIMIZE=-O4 -qarch=pwr3
fdo_run1 = fdpr -v -R3 -p $commandexe -x $command
fdo_post1 = cp ${baseexe}.fdpr $baseexe

255.vortex=peak=default=default:
fdo_pre0 = rm -rf ${PDFDIR}; mkdir -p ${PDFDIR}
COPTIMIZE=-O3 -lhmu -lmass -qipa=partition=large
fdo_run1 = fdpr -v -R3 -p $commandexe -x $command
fdo_post1 = cp ${baseexe}.fdpr $baseexe

256.bzip2=peak=default=default:
COPTIMIZE=-O5 -qunroll=8
fdo_run1 = fdpr -v -R3 -p $commandexe -x $command
fdo_post1 = cp ${baseexe}.fdpr $baseexe

300.twolf=peak=default=default:
fdo_pre0 = rm -rf ${PDFDIR}; mkdir -p ${PDFDIR}
CC=/usr/vac/bin/xlc
PASS1_FLAGS=-qpdf1 -O5
PASS1_LDFLAGS=-O5 -L/usr/vac/lib -lpdf
PASS2_FLAGS=-qpdf2 -O5
PASS2_LDFLAGS=-O5
fdo_run2 = fdpr -v -R3 -p $commandexe -x $command
fdo_post2 = cp ${baseexe}.fdpr $baseexe

#===============================================================================
# Floating Point peak optimization flags
#===============================================================================

default=peak=default=default:
EXTRA_F77FLAGS =-qfixed

168.wupwise=peak=default=default:
basepeak = 1


171.swim=peak=default=default:
basepeak = 1

172.mgrid=peak=default=default:
basepeak = 1

173.applu=peak=default=default:
F77OPTIMIZE =-O5 -lmass -qipa=partition=large

177.mesa=peak=default=default:
COPTIMIZE = -O5 -lmass -qipa=partition=large
fdo_run1 = fdpr -v -R3 -p $commandexe -x $command
fdo_post1 = cp ${baseexe}.fdpr $baseexe

178.galgel=peak=default=default:
basepeak = 1

179.art=peak=default=default:
COPTIMIZE = -O5 -lmass -qalign=natural

183.equake=peak=default=default:
CC=/usr/vac/bin/xlc
COPTIMIZE = -O5 -lmass -lhmu -qinline

187.facerec=peak=default=default:
basepeak = 1
# return to spec below if you change the base flags...


188.ammp=peak=default=default:
COPTIMIZE =-O3 -qarch=pwr3

189.lucas=peak=default=default:
fdo_pre0 = rm -rf ${PDFDIR}; mkdir -p ${PDFDIR}
PASS1_FFLAGS =-qpdf1 -O3 -lhmu -lmass  -qipa=partition=large
PASS1_LDFFLAGS =-lhmu -lmass -lpdf -L/usr/lpp/xlf/lib/pdf -qipa=partition=large
PASS2_FFLAGS =-qpdf2 -O3 -lhmu -lmass -qipa=partition=large
PASS2_LDFFLAGS =-lhmu -lmass -qipa=partition=large
fdo_run2 = fdpr -v -R3 -p $commandexe -x $command
fdo_post2 = cp ${baseexe}.fdpr $baseexe


191.fma3d=peak=default=default:
FOPTIMIZE =-O4 -lmass -qipa=partition=large



200.sixtrack=peak=default=default:
basepeak = 1

301.apsi=peak=default=default:
basepeak = 1