Statistics
| Revision:

root / spec / mcf / mcf-test @ 53

History | View | Annotate | Download (994 Bytes)

1
####################################
2
#Benchmark: 181.mcf
3
####################################
4
#!/bin/csh
5
set SIM_DIR = /home/users1/cg539/simu3.0/simplesim-3.0/
6
set SIM_BIN = sim-outorder
7
set SIMULATOR = "${SIM_DIR}${SIM_BIN}"
8

    
9
#set SIM_FF = "-fastfwd 300000000"
10
set SIM_FF =
11
#You need to set the max inst for simulation
12
set SIM_INST = "-max:inst 10000000"
13
#You need to set up the parameters for yourself instead of the default ones
14
set SIM_RES = 
15
set SIM_CACHE = 
16
set SIM_BRANCH = 
17
set SIM_ARGS = "${SIM_FF} ${SIM_INST} ${SIM_RES} ${SIM_CACHE} ${SIM_BRANCH}"
18

    
19
set BENCH_BIN = /home/users1/cg539/spec2000pisabig/181.mcf/mcf_base.pisa_big
20
set BENCH_INPUT = /home/users1/cg539/spec2000/benchspec/CINT2000/181.mcf/data/test/input/inp.in
21
set BENCH_OPT = 
22
set BENCH_ARGS = "${BENCH_INPUT} ${BENCH_OPT}"
23

    
24
#YOU need to define the output file by yourself
25
set BENCH_OUTPUT = "~/results/mcf.rst"
26

    
27
${SIMULATOR} ${SIM_ARGS} ${BENCH_BIN} ${BENCH_ARGS} >&!  ${BENCH_OUTPUT}
28
echo "Simulation is done here!"
29

    
30