aboutsummaryrefslogtreecommitdiff
path: root/cpu2006.cfg
blob: 65d0002ebc0df9cc72e8ad49552a23287f302b53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
default=default=default=default:

################################################################
# Company name
################################################################

test_sponsor	= Linaro
tester		= Linaro

@SAVE_TEMPS@build_pre_bench=mkdir -p $[top]/result/save.$lognum.temps
@SAVE_TEMPS@build_post_bench=@TAR@ -c \$(find . -name "*.i" -o -name "*.ii" -o -name "*.s" -o -name "*.S") > $[top]/result/save.$lognum.temps/$benchmark.tar.xz

bind		= @BIND@
submit		= (ulimit -s unlimited; taskset -c $BIND setarch @SETARCH@ -R $command)

# This will bind specinvoke to @HELPER_CPU@, but benchmark itself
# will run on @BIND@
@PROFILER_NONE@monitor_specrun_wrapper = taskset -c @HELPER_CPU@ $command

# This will bind perf and specinvoke to @HELPER_CPU@, but benchmark itself
# will run on @BIND@.  Perf is picking up stdout and stderr from runspec,
# and outputs perf.data contents into stdout.  To avoid this we close FDs
# 1 and 2 with "exec ... 1>&- 2>&-".
@PROFILER_PERF@monitor_specrun_wrapper = mkdir -p $[top]/result/perf.$lognum.data/; taskset -c @HELPER_CPU@ sh -c "exec @PERF_RECORD@ -q @PERF_CALLGRAPH@ @PERF_CPU@ @PERF_EVENTS@ -o $[top]/result/perf.$lognum.data/$benchmark.data -- $command 1>&- 2>&-"; chmod 0644 $[top]/result/perf.$lognum.data/$benchmark.data

################################################################
# Benchmark noise handling (via number of iterations)
################################################################

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

default=default=default=default:
PORTABILITY	= @DSPEC_CPU_LP64@

400.perlbench=default=default=default:
CPORTABILITY	= -DSPEC_CPU_LINUX_X64 -fgnu89-inline

403.gcc=default=Ofast=default:
# Something at -O3 causes miscompare due to imprecise encoding of FP constants.
CPORTABILITY	= -O2 -ffast-math

429.mcf=default=default=default:
# 429.mcf requires around 1.7GB of RAM per process.
copies		= @MAX_MCF_RATE_COPIES@

462.libquantum=default=default=default:
CPORTABILITY	= -DSPEC_CPU_LINUX

464.h264ref=default=default=default:
CPORTABILITY	= -fsigned-char

483.xalancbmk=default=default=default:
CXXPORTABILITY	= -DSPEC_CPU_LINUX

416.gamess=default=default=default:
FPORTABILITY	= @FUNCONSTRAINED_COMMONS@ -std=legacy

481.wrf=default=default=default:
CPORTABILITY	= -DSPEC_CPU_CASE_FLAG -DSPEC_CPU_LINUX

482.sphinx3=default=default=default:
CPORTABILITY	= -fsigned-char

447.dealII=default=default=default:
CXXPORTABILITY	= -include cstddef -include cstring -include cstdlib -std=c++98

450.soplex=default=default=default:
CXXPORTABILITY	= -std=c++98