# Invocation command line:
# /usr/cpu2000/bin/runspec -c amd378K8 -r -u 4 -T all all
############################################################################
# amd378K8.cfg
# derived from
# pathscale-amd64.cfg
# built by AMD with Pathscale 2.0, with ACML 2.5.1 for SLES9 January 2005
#
# Copyright 2003, 2004 PathScale, Inc.  All Rights Reserved.
#
# Configuration file for use with the PathScale compiler on x86-64

check_md5 = 1

ext=ps_amd378K8
teeout=yes
teerunout=yes

################################################################
# Machine-specific section
################################################################
#include: SUT.inc
# ---- Begin inclusion of '/usr/cpu2000/config/SUT.inc'
################################################################
# Machine-specific section
################################################################
hw_cpu       = AMD Opteron 870 
hw_cpu_mhz   = 2000
hw_disk      = SCSI, 74 GB
hw_fpu       = Integrated
hw_memory    = 8x1024MB, DDR400 CL3
hw_vendor    = AMD
hw_model     = Pogo, Opteron 870
hw_avail     = Oct-2004
hw_ncpu      = 4 cores, 2 chips, 2 cores/chip
hw_ncpuorder = 1-4
hw_ocache    = N/A
hw_other     = None
hw_parallel  = No
hw_pcache    = 64KBI + 64KBD on chip
hw_scache    = 1024KB (I+D) on chip
hw_tcache    = N/A
sw_file      = Linux/ext3
sw_os        = SuSE Linux Enterprise Server 9 for AMD64
sw_state     = Multi-user, run level 3
submit= MYMASK=`printf '0x%x' \$((1<<\$SPECUSERNUM))`; /usr/bin/taskset \$MYMASK $command
# System setup notes
# To add notes, uncomments these lines below and add the comments
#notes6000    =
#notes6010    =
#notes6020    =
#notes6030    =
#notes6040    =
#notes6050    =
#notes6060    =
#notes6070    =
#notes6080    =
#notes6090    =
#notes6100    =
################################################################
# Software and license-specific section
################################################################
license_num  = 49
test_date    = Jan-2005
prepared_by  = 
company_name = Advanced Micro Devices
tester_name  = Advanced Micro Devices
reportable   = 1
# ---- End inclusion of '/usr/cpu2000/config/SUT.inc'

sw_compiler  = PathScale EKOPath Compiler Suite, Release 2.0
sw_avail     = Jan-2005

default=default=default=default:

PSDIR = /opt/pathscale/2.0/bin
CC=$(PSDIR)/pathcc
FC=$(PSDIR)/pathf90
F77=$(PSDIR)/pathf90
CXX=$(PSDIR)/pathCC


################################################################
# Initial Notes
################################################################

notes016 = 
notes018 = +FDO: PASS1= -fb_create fbdata  PASS2= -fb_opt fbdata

################################################################
# Final Notes
################################################################

default=default=default=default:
notes5000	=   

#################################################################
#                                                               #
#          SPECint Tuning & Notes                               #
#                                                               #
#################################################################

# Specify feedback-directed optimization for all SPECint runs.

int=default=default=default:
PASS1_CFLAGS  = -fb_create fbdata 
PASS1_CXXFLAGS  = -fb_create fbdata 
PASS1_LDFLAGS = -fb_create fbdata
PASS2_CFLAGS  = -fb_opt fbdata
PASS2_CXXFLAGS  = -fb_opt fbdata
PASS2_LDFLAGS = -fb_opt fbdata

int=base=default=default:
COPTIMIZE      = -Ofast
CXXOPTIMIZE    = -Ofast

notes021 = 
notes022 = Baseline optimization flags: 
notes023 =   C programs:       -Ofast +FDO
notes024 =   C++ programs:     -Ofast +FDO

notes100 = 
notes101 = Portability Flags:
notes105 =   176.gcc:      srcalt 64bitgcc
notes106 =   186.crafty:  -DLINUX_i386
notes107 =   252.eon:     -DHAS_ERRLIST -DSPEC_CPU2000_LP64 srcalt fmax_errno
notes108 =   253.perlbmk: -DSPEC_CPU2000_LINUX_I386 -DSPEC_CPU2000_NEED_BOOL  
notes109 =                -DSPEC_CPU2000_GLIBC22 -DSPEC_CPU2000_LP64
notes112 =   254.gap:     -DSYS_IS_USG -DSYS_HAS_IOCTL_PROTO -DSYS_HAS_TIME_PROTO
notes113 =                -DSYS_HAS_SIGNAL_PROTO  -DSYS_HAS_ANSI -DSYS_HAS_CALLOC_PROTO
notes114 =                -DSPEC_CPU2000_LP64  
notes116 =   255.vortex:  -DSPEC_CPU2000_LP64 srcalt closed_files
#notes118 =   300.twolf:   -DHAVE_SIGNED_CHAR
notes120 = 
notes125 = Peak Tuning:


     
164.gzip=default=default=default:

164.gzip=peak=default=default:
OPTIMIZE      =  -O3 -ipa -m3dnow -WOPT:val=0
notes205   = 164.gzip:  -O3 -ipa -m3dnow -WOPT:val=0 +FDO

175.vpr=default=default=default:

175.vpr=peak=default=default:
OPTIMIZE = -O2 -ipa -OPT:alias=disjoint -CG:p2align_freq=500000 -INLINE:aggressive=on -IPA:space=300:plimit=10000:callee_limit=5000:linear=on
notes208   = 175.vpr: -O2 -ipa -OPT:alias=disjoint -CG:p2align_freq=500000
notes209   =          -INLINE:aggressive=on -IPA:space=300:plimit=10000:callee_limit=5000:linear=on
notes210   =          +FDO

176.gcc=default=default=default:
srcalt          = 64bitgcc

176.gcc=peak=default=default:
OPTIMIZE      = -O3 -ipa -OPT:goto=off
notes212  = 176.gcc: -O3 -ipa -OPT:goto=off +FDO

181.mcf=default=default=default:

181.mcf=peak=default=default:
OPTIMIZE      = -O3 -ipa -IPA:field_reorder=on -m32
notes214= 181.mcf: -O3 -ipa -IPA:field_reorder=on -m32 +FDO

186.crafty=default=default=default:
CPORTABILITY = -DLINUX_i386

186.crafty=peak=default=default:
OPTIMIZE      =  -O3 -OPT:goto=off
notes217   = 186.crafty:  -O3 -OPT:goto=off +FDO

197.parser=default=default=default:

197.parser=peak=default=default:
OPTIMIZE      = -O3 -ipa -m32 -IPA:ctype=on
notes220  = 197.parser: -O3 -ipa -m32 -IPA:ctype=on +FDO

252.eon=default=default=default:
CXXPORTABILITY = -DHAS_ERRLIST -DSPEC_CPU2000_LP64
srcalt = fmax_errno

252.eon=peak=default=default:
OPTIMIZE = -Ofast -CG:gcm=off:p2align_freq=1:prefetch=off -OPT:treeheight=on -TENV:X=4:frame_pointer=off -fno-exceptions -LNO:fu=10:full_unroll_outer=on -IPA:plimit=4000
notes223= 252.eon: -Ofast -CG:gcm=off:p2align_freq=1:prefetch=off -OPT:treeheight=on
notes224=          -TENV:X=4:frame_pointer=off -fno-exceptions
notes225=          -LNO:fu=10:full_unroll_outer=on -IPA:plimit=4000 +FDO      

253.perlbmk=default=default=default: 
CPORTABILITY = -DSPEC_CPU2000_LINUX_I386 -DSPEC_CPU2000_NEED_BOOL -DSPEC_CPU2000_GLIBC22 -DSPEC_CPU2000_LP64
     
253.perlbmk=peak=default=default:
OPTIMIZE = -Ofast -OPT:transform_to_memlib=off -IPA:plimit=10000
notes228= 253.perlbmk: -O3 -ipa -IPA:plimit=10000 +FDO

254.gap=default=default=default:
CPORTABILITY=-DSYS_IS_USG -DSYS_HAS_IOCTL_PROTO -DSYS_HAS_TIME_PROTO -DSYS_HAS_SIGNAL_PROTO -DSYS_HAS_ANSI -DSYS_HAS_CALLOC_PROTO -DSPEC_CPU2000_LP64

254.gap=peak=default=default:
OPTIMIZE = -Ofast -WOPT:aggstr=0
notes230= 254.gap:     -Ofast -WOPT:aggstr=0 +FDO

255.vortex=default=default=default:
CPORTABILITY=-DSPEC_CPU2000_LP64
srcalt=closed_files

255.vortex=peak=default=default:
OPTIMIZE = -Ofast -OPT:goto=off -IPA:plimit=1800 -CG:p2align=on
notes233= 255.vortex: -Ofast -OPT:goto=off -IPA:plimit=1800 -CG:p2align=on
notes234=             +FDO
 
256.bzip2=default=default=default:

256.bzip2=peak=default=default:
basepeak = true
notes240= 256.bzip2: basepeak = true

#300.twolf=default=default=default: 
#CPORTABILITY=-DHAVE_SIGNED_CHAR

300.twolf=peak=default=default:
OPTIMIZE      = -O2 -CG:gcm=off:p2align_freq=100000 -OPT:Ofast:unroll_times_max=8:unroll_size=256:alias=disjoint -WOPT:mem_opnds=on -m32
notes245= 300.twolf: -O2 -CG:gcm=off:p2align_freq=100000
notes246=            -OPT:Ofast:unroll_times_max=8:unroll_size=256:alias=disjoint
notes247=            -WOPT:mem_opnds=on -m32 +FDO

#################################################################
#                                                               #
#                        SPECfp Tuning                          #
#                                                               #
#################################################################

# Specify feedback-directed optimization for all SPECfp C codes.

fp=default=default=default:
COPTIMIZE         = -Ofast -WOPT:mem_opnds=on
PASS1_CFLAGS      = -fb_create fbdata
PASS2_CFLAGS      = -fb_opt fbdata
FOPTIMIZE         = -Ofast -LNO:fusion=2 -OPT:fast_complex
F77OPTIMIZE       = -Ofast -LNO:fusion=2 -OPT:fast_complex
PASS1_FFLAGS      = -fb_create fbdata
PASS2_FFLAGS      = -fb_opt fbdata
PASS1_F77FLAGS      = -fb_create fbdata
PASS2_F77FLAGS      = -fb_opt fbdata
PASS1_LDFLAGS    = -fb_create fbdata
PASS2_LDFLAGS    = -fb_opt fbdata

notes020 = +ACML means linking with AMD Core Math Library V2.5.1
notes028 = 
notes030 = Baseline optimization 
notes032 =   C programs:       -Ofast -WOPT:mem_opnds=on +FDO 
notes034 =   Fortran programs: -Ofast -LNO:fusion=2 -OPT:fast_complex +FDO
notes101       = Portability Flags:
notes102       =   178.galgel: -fixedform
notes150 =  
notes155 =Peak Tuning:

168.wupwise=default=default=default:

168.wupwise=peak=default=default:
F77OPTIMIZE = -Ofast -LNO:prefetch_ahead=5:prefetch=3 -OPT:unroll_times_max=8:unroll_size=128:IEEE_NaN_Inf=off:ro=3 -TENV:X=4 -IPA:space=1000:linear=on:plimit=50000:callee_limit=5000 -INLINE:aggressive=on
feedback = 0 
notes204    = 168.wupwise: -Ofast -LNO:prefetch_ahead=5:prefetch=3
notes205    =              -OPT:unroll_times_max=8:unroll_size=128:IEEE_NaN_Inf=off:ro=3 -TENV:X=4
notes206    =              -IPA:space=1000:linear=on:plimit=50000:callee_limit=5000 
notes207    =              -INLINE:aggressive=on

171.swim=default=default=default:

171.swim=peak=default=default:
F77OPTIMIZE     = -Ofast -LNO:fusion=2 -m3dnow
feedback = 0
notes210    = 171.swim:    -Ofast -LNO:fusion=2 -m3dnow

172.mgrid=default=default=default:

172.mgrid=peak=default=default:
F77OPTIMIZE = -O3 -LNO:fusion=2:blocking=off -OPT:Ofast:unroll_times_max=8:unroll_size=256:ro=3 -CG:gcm=off:cflow=off -m3dnow
feedback = 0
notes215    = 172.mgrid:   -O3 -LNO:fusion=2:blocking=off
notes216    =              -OPT:Ofast:unroll_times_max=8:unroll_size=256:ro=3
notes217    =              -CG:gcm=off:cflow=off -m3dnow

173.applu=default=default=default:

173.applu=peak=default=default:
F77OPTIMIZE = -Ofast -CG:local_fwd_sched=on -LNO:fusion=2:fission=2:full_unroll_size=10000:prefetch=3 -OPT:ro=3 -TENV:X=3 -WOPT:val=2
feedback = 0
notes220    = 173.applu:   -Ofast -CG:local_fwd_sched=on
notes221    =              -LNO:fusion=2:fission=2:full_unroll_size=10000:prefetch=3
notes222    =              -OPT:ro=3 -TENV:X=3 -WOPT:val=2

177.mesa=default=default=default:

177.mesa=peak=default=default:
COPTIMIZE = -O2 -ipa -OPT:Ofast -fno-math-errno -CG:local_fwd_sched=on
notes225    = 177.mesa:    -O2 -ipa -OPT:Ofast -fno-math-errno -CG:local_fwd_sched=on +FDO

178.galgel=default=default=default:
FPORTABILITY=-fixedform

178.galgel=peak=default=default:
FOPTIMIZE = -Ofast -OPT:fast_complex -CG:use_movlpd=on
RM_SOURCES      = lapak.f90
EXTRA_LIBS      = -L/opt/acml2.5.1/pathscale64/lib -lacml
notes230    = 178.galgel:  -Ofast -OPT:fast_complex -CG:use_movlpd=on +ACML

179.art=default=default=default:

179.art=peak=default=default:
COPTIMIZE= -O3 -OPT:ro=2:div_split=on:alias=typed -fno-math-errno -m32
feedback = 0
notes235    = 179.art:     -O3 -OPT:ro=2:div_split=on:alias=typed -fno-math-errno -m32

183.equake=default=default=default:

183.equake=peak=default=default:
COPTIMIZE = -Ofast -WOPT:mem_opnds=on -CG:local_fwd_sched=on
feedback = 0
notes240    = 183.equake:  -Ofast -WOPT:mem_opnds=on -CG:local_fwd_sched=on
     
187.facerec=default=default=default:

187.facerec=peak=default=default:
FOPTIMIZE = -Ofast -OPT:treeheight=on:IEEE_NaN_Inf=off:ro=3 -CG:load_exe=0 -LNO:fusion=2 -IPA:plimit=1500
notes245  = 187.facerec:  -Ofast -OPT:treeheight=on:IEEE_NaN_Inf=off:ro=3 -CG:load_exe=0 
notes246  =               -LNO:fusion=2 -IPA:plimit=1500 +FDO 

188.ammp=default=default=default:

188.ammp=peak=default=default:
COPTIMIZE = -O3 -OPT:alias=disjoint:unroll_times_max=8:Ofast:ro=3 -fno-math-errno -TENV:X=4
notes250 = 188.ammp: -O3 -OPT:alias=disjoint:unroll_times_max=8:Ofast:ro=3
notes251 =           -fno-math-errno -TENV:X=4 +FDO
     
189.lucas=default=default=default:
     
189.lucas=peak=default=default:
FOPTIMIZE = -Ofast -CG:local_fwd_sched=on -LNO:fusion=2
notes255  = 189.lucas: -Ofast -CG:local_fwd_sched=on -LNO:fusion=2
notes257  =            +FDO

191.fma3d=default=default=default:

191.fma3d=peak=default=default:
FOPTIMIZE = -O2 -ipa -CG:load_exe=1 -OPT:Ofast:IEEE_arith=3:ro=3 -WOPT:mem_opnds=on:retype_expr=on -IPA:pu_reorder=1
notes260  = 191.fma3d: -O2 -ipa -CG:load_exe=1 -OPT:Ofast:IEEE_arith=3:ro=3
notes261  =            -WOPT:mem_opnds=on:retype_expr=on -IPA:pu_reorder=1 +FDO 

200.sixtrack=default=default=default:

200.sixtrack=peak=default=default:
F77OPTIMIZE = -O3 -OPT:Ofast:Olimit=6000 -fno-math-errno -CG:load_exe=1
notes265   = 200.sixtrack:= -O3 -OPT:Ofast:Olimit=6000 -fno-math-errno -CG:load_exe=1 +FDO

301.apsi=default=default=default:

301.apsi=peak=default=default:
F77OPTIMIZE = -Ofast -TENV:X=4 -LNO:fusion=2:prefetch=0
feedback=0
notes270    = 301.apsi: -Ofast -TENV:X=4 -LNO:fusion=2:prefetch=0