# Invocation command line:
# /home/work/CPU2000/bin/runspec -c pathscale20-amd64 -T all -n 3 -I -o asc fp
############################################################################
############################################################################
############################################################################
# SPEC CPU2000, config file for Suse Linux on AMD64
#
# Last modification:
#   Fujitsu Siemens Computers
#   February 2005
#
#  Compilers used:
#       PathScale Compiler Suite 2.0
#

VENDOR		= Fujitsu Siemens Computers
action		= validate
tune		= all
output_format	= asc
ext		= fsc.amd64.050203

check_md5	= 1
reportable	= 1
mean_anyway	= 1

teeout		= yes
teerunout	= yes

##########################################################################
#  Hardware discription
##########################################################################
#
company_name	= Fujitsu Siemens Computers
hw_model	= CELSIUS V810, Opteron (TM) 252, Linux 64-bit
hw_cpu		= AMD Opteron (TM) 252
hw_cpu_mhz	= 2600
hw_fpu		= Integrated
hw_ncpu		= 1 core, 1 chip, 1 core/chip
hw_ncpuorder	= 1,2
hw_parallel	= No
hw_pcache	= 64KBI + 64KBD on chip
hw_scache	= 1024KB(I+D) on chip
hw_tcache	= N/A
hw_ocache	= N/A
hw_memory	= 4 x 512 MB PC3200 CL3-3-3 DDR SDRAM
hw_disk		= S-ATA 7200 rpm
hw_other	= None
#
##########################################################################
#  Software discription  (OS and compilers)
##########################################################################

int=default=default=default:
sw_os		= SuSE Linux 9.1 (AMD64) 2.6.4-52-smp
sw_compiler00	= PathScale EKO Compiler Suite, Release 2.0
sw_compiler01	= - (both for C and C++)
sw_file		= Linux/ReiserFS
sw_state	= Multi-user SuSE Run level 3

fp=default=default=default:
sw_os		= SuSE Linux 9.1 (AMD64) 2.6.4-52-smp
sw_compiler00	= PathScale EKO Compiler Suite, Release 2.0
sw_compiler01	= - (both for C and Fortran)
sw_compiler02	= ACML (AMD Core Math Library) for AMD64, Version 2.1
sw_compiler03	= - available from AMD
sw_file		= Linux/ReiserFS
sw_state	= Multi-user SuSE Run level 3

##########################################################################
#  Other general information
##########################################################################

default=default=default=default:
hw_vendor	= Fujitsu Siemens Computers
tester_name	= Fujitsu Siemens Computers
license_num	= 22
hw_avail	= Mar-2005
sw_avail	= Jan-2005
test_date	= Feb-2005

##########################################################################
#  Compiler selection
##########################################################################

default=default=default=default:
CC	= pathcc
CXX	= pathCC
FC	= pathf90
F77	= pathf90

################################################################
# General Notes
################################################################

default=default=default=default:
notes010 =
notes011 = +FDO: PASS1= -fb_create fbdata  PASS2= -fb_opt fbdata

notes900 =
notes901 =System tested with only 1 CPU present.
notes902 =
notes903 =BIOS Version 1.06, default settings.
notes904 =
notes905 =For information about Fujitsu Siemens Computers in your country please see:
notes906 =http://www.fujitsu-siemens.com/countries
notes907 =

fp=default=default=default:
notes015 = +ACML: -lacml -lg2c
notes016 =        for linking with AMD Core Math Library, Version 2.1.0
notes017 = (ACML requires g2c, the Fortran Compatibility Library;
notes018 = g2c comes with GNU Fortran compiler in SuSE's distribution)

################################################################
# Portability Flags
################################################################

default=default=default=default:
notes039 =
notes040 = Portability Flags:

### int

176.gcc=default=default=default:
srcalt=64bitgcc
notes041 =   176.gcc:     Approved srcalt 64bitgcc is used

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

252.eon=default=default=default:
CXXPORTABILITY = -DHAS_ERRLIST -DSPEC_CPU2000_LP64
srcalt = fmax_errno
notes045 =   252.eon:     -DHAS_ERRLIST -DSPEC_CPU2000_LP64
notes046 =                Approved srcalt fmax_errno is used

253.perlbmk=default=default=default:
CPORTABILITY = -DSPEC_CPU2000_LINUX_I386 -DSPEC_CPU2000_NEED_BOOL -DSPEC_CPU2000_GLIBC22 -DSPEC_CPU2000_LP64
notes048 =   253.perlbmk: -DSPEC_CPU2000_LINUX_I386 -DSPEC_CPU2000_NEED_BOOL
notes049 =                -DSPEC_CPU2000_GLIBC22 -DSPEC_CPU2000_LP64

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
notes051 =   254.gap:     -DSYS_IS_USG -DSYS_HAS_IOCTL_PROTO -DSYS_HAS_TIME_PROTO
notes052 =                -DSYS_HAS_SIGNAL_PROTO  -DSYS_HAS_ANSI
notes053 =                -DSYS_HAS_CALLOC_PROTO -DSPEC_CPU2000_LP64

255.vortex=default=default=default:
CPORTABILITY=-DSPEC_CPU2000_LP64
srcalt=closed_files
notes054 =   255.vortex:  -DSPEC_CPU2000_LP64
notes055 =                Approved srcalt closed_files is used

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

### fp

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

################################################################
# Baseline Tuning Flags
################################################################

default=base=default=default:
notes080 =
notes081 = Baseline optimization flags:

#
# int2000
# Base tuning default optimization

int=base=default=default:
notes082 =   C programs:       -Ofast +FDO
notes083 =   C++ programs:     -Ofast +FDO

# Specify feedback-directed optimization for all SPECint runs.

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

COPTIMIZE      = -Ofast
CXXOPTIMIZE    = -Ofast

#
# fp2000
# Base tuning default optimization
#

fp=base=default=default:
notes086 =   C programs:       -Ofast -WOPT:mem_opnds=on +FDO
notes087 =   Fortran programs: -Ofast -LNO:fusion=2 -OPT:fast_complex +FDO

# Specify feedback-directed optimization for all SPECfp codes.
PASS1_CFLAGS      = -fb_create fbdata
PASS1_FFLAGS      = -fb_create fbdata
PASS1_F77FLAGS    = -fb_create fbdata
PASS1_LDFLAGS    = -fb_create fbdata
PASS2_CFLAGS      = -fb_opt fbdata
PASS2_FFLAGS      = -fb_opt fbdata
PASS2_F77FLAGS    = -fb_opt fbdata
PASS2_LDFLAGS    = -fb_opt fbdata

COPTIMIZE         = -Ofast -WOPT:mem_opnds=on
FOPTIMIZE         = -Ofast -LNO:fusion=2 -OPT:fast_complex
F77OPTIMIZE       = -Ofast -LNO:fusion=2 -OPT:fast_complex


#################################################
# int2000 - Peak tuning
#################################################

# Specify feedback-directed optimization for all SPECint runs.

int=peak=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

notes100 =
notes101 = Peak tuning:

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

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
notes120 = 175.vpr:   -O2 -ipa -OPT:alias=disjoint -CG:p2align_freq=500000
notes121 =            -INLINE:aggressive=on
notes122 =            -IPA:space=300:plimit=10000:callee_limit=5000:linear=on +FDO

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

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

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

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

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
notes170 = 252.eon:   -Ofast -CG:gcm=off:p2align_freq=1:prefetch=off
notes171 =            -OPT:treeheight=on -TENV:X=4:frame_pointer=off
notes172 =            -fno-exceptions -LNO:fu=10:full_unroll_outer=on
notes173 =            -IPA:plimit=4000 +FDO

253.perlbmk=peak=default=default:
OPTIMIZE = -Ofast -OPT:transform_to_memlib=off -IPA:plimit=10000
notes180 = 253.perlbmk: -Ofast -OPT:transform_to_memlib=off -IPA:plimit=10000 +FDO

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

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

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

300.twolf=peak=default=default:
OPTIMIZE = -O2 -CG:gcm=off:p2align_freq=100000 -OPT:Ofast:unroll_times=8:unroll_size=256:alias=disjoint -WOPT:mem_opnds=on -m32
notes220 = 300.twolf: -O2 -CG:gcm=off:p2align_freq=100000
notes221 =            -OPT:Ofast:unroll_times=8:unroll_size=256:alias=disjoint
notes222 =            -WOPT:mem_opnds=on -m32 +FDO

#################################################
# fp2000 - Peak tuning
#################################################

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

fp=peak=default=default:
PASS1_CFLAGS      = -fb_create fbdata
PASS1_FFLAGS      = -fb_create fbdata
PASS1_F77FLAGS    = -fb_create fbdata
PASS1_LDFLAGS    = -fb_create fbdata
PASS2_CFLAGS      = -fb_opt fbdata
PASS2_FFLAGS      = -fb_opt fbdata
PASS2_F77FLAGS    = -fb_opt fbdata
PASS2_LDFLAGS    = -fb_opt fbdata

COPTIMIZE         = -Ofast -WOPT:mem_opnds=on
FOPTIMIZE         = -Ofast -LNO:fusion=2 -OPT:fast_complex
F77OPTIMIZE       = -Ofast -LNO:fusion=2 -OPT:fast_complex

notes100 =
notes101 = Peak tuning:

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
notes110 = 168.wupwise: -Ofast -LNO:prefetch_ahead=5:prefetch=3
notes111 =              -OPT:unroll_times_max=8:unroll_size=128:IEEE_NaN_Inf=off:ro=3
notes112 =              -TENV:X=4
notes113 =              -IPA:space=1000:linear=on:plimit=50000:callee_limit=5000
notes114 =              -INLINE:aggressive=on

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

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
notes130 = 172.mgrid:   -O3 -LNO:fusion=2:blocking=off
notes131 =              -OPT:Ofast:unroll_times_max=8:unroll_size=256:ro=3
notes132 =              -CG:gcm=off:cflow=off -m3dnow

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
notes140 = 173.applu:   -Ofast -CG:local_fwd_sched=on
notes141 =              -LNO:fusion=2:fission=2:full_unroll_size=10000:prefetch=3
notes142 =              -OPT:ro=3 -TENV:X=3 -WOPT:val=2

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

178.galgel=peak=default=default:
FOPTIMIZE = -Ofast -OPT:fast_complex -CG:use_movlpd=on
RM_SOURCES      = lapak.f90
EXTRA_LIBS      = -L/opt/acml2.1.0/gnu64/lib -lacml -lg2c
notes160 = 178.galgel:  -Ofast -OPT:fast_complex -CG:use_movlpd=on +FDO +ACML

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

183.equake=peak=default=default:
# COPTIMIZE = -Ofast -WOPT:mem_opnds=on -CG:local_fwd_sched=on
# feedback = 0
# notes180 = 183.equake:  -Ofast -WOPT:mem_opnds=on -CG:local_fwd_sched=on
COPTIMIZE = -Ofast -WOPT:mem_opnds=on -m32
feedback = 0
notes180 = 183.equake:  -Ofast -WOPT:mem_opnds=on -m32

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
notes190 = 187.facerec: -Ofast -OPT:treeheight=on:IEEE_NaN_Inf=off:ro=3
notes191 =              -CG:load_exe=0 -LNO:fusion=2 -IPA:plimit=1500 +FDO

188.ammp=peak=default=default:
COPTIMIZE = -O3 -OPT:alias=disjoint:unroll_times_max=8:Ofast:ro=3 -fno-math-errno -TENV:X=4
notes200 = 188.ammp:    -O3 -OPT:alias=disjoint:unroll_times_max=8:Ofast:ro=3
notes201 =              -fno-math-errno -TENV:X=4 +FDO

189.lucas=peak=default=default:
FOPTIMIZE = -Ofast -CG:local_fwd_sched=on -LNO:fusion=2
notes210 = 189.lucas:   -Ofast -CG:local_fwd_sched=on -LNO:fusion=2 +FDO

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
notes220 = 191.fma3d:   -O2 -ipa -CG:load_exe=1 -OPT:Ofast:IEEE_arith=3:ro=3
notes221 =              -WOPT:mem_opnds=on:retype_expr=on -IPA:pu_reorder=1 +FDO

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

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