-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.sh
executable file
·43 lines (27 loc) · 4.82 KB
/
test.sh
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
#!/bin/bash
# declare first argument as prefix
prefix=$1
make TARGET=ia32 obj-ia32/HW1.so
cd spec_2006/400.perlbench/ && pin -t ../../obj-ia32/HW1.so -f 207 -o perlbench.diffmail.out -- ./perlbench_base.i386 -I./lib diffmail.pl 4 800 10 17 19 300 > perlbench.ref.diffmail.out 2> perlbench.ref.diffmail.err && cp perlbench.diffmail.out "../../runs/$prefix.400.perlbench.diffmail.out.$(date +%Y%m%d%H%M%S)" &
cd spec_2006/401.bzip2/ && pin -t ../../obj-ia32/HW1.so -f 301 -o bzip2.source.out -- ./bzip2_base.i386 input.source 280 > bzip2.ref.source.out 2> bzip2.ref.source.err && cp bzip2.source.out "../../runs/$prefix.401.bzip2.source.out.$(date +%Y%m%d%H%M%S)" &
cd spec_2006/403.gcc/ && pin -t ../../obj-ia32/HW1.so -f 107 -o gcc.cp-decl.out -- ./gcc_base.i386 cp-decl.i -o cp-decl.s > gcc.ref.cp-decl.out 2> gcc.ref.cp-decl.err && cp gcc.cp-decl.out "../../runs/$prefix.403.gcc.cp-decl.out.$(date +%Y%m%d%H%M%S)" &
cd spec_2006/429.mcf/ && pin -t ../../obj-ia32/HW1.so -f 377 -o mcf.out -- ./mcf_base.i386 inp.in > mcf.ref.out 2> mcf.ref.err && cp mcf.out "../../runs/$prefix.429.mcf.out.$(date +%Y%m%d%H%M%S)" &
cd spec_2006/450.soplex/ && pin -t ../../obj-ia32/HW1.so -f 364 -o soplex.ref.out -- ./soplex_base.i386 -m3500 ref.mps > soplex.ref.ref.out 2> soplex.ref.ref.err && cp soplex.ref.out "../../runs/$prefix.450.soplex.ref.out.$(date +%Y%m%d%H%M%S)" &
cd spec_2006/456.hmmer/ && pin -t ../../obj-ia32/HW1.so -f 264 -o hmmer.nph3.out -- ./hmmer_base.i386 nph3.hmm swiss41 > hmmer.ref.nph3.out 2> hmmer.ref.nph3.err && cp hmmer.nph3.out "../../runs/$prefix.456.hmmer.nph3.out.$(date +%Y%m%d%H%M%S)" &
cd spec_2006/471.omnetpp/ && pin -t ../../obj-ia32/HW1.so -f 43 -o omnetpp.out -- ./omnetpp_base.i386 omnetpp.ini > omnetpp.ref.log 2> omnetpp.ref.err && cp omnetpp.out "../../runs/$prefix.471.omnetpp.out.$(date +%Y%m%d%H%M%S)" &
cd spec_2006/483.xalancbmk/ && pin -t ../../obj-ia32/HW1.so -f 1331 -o xalancbmk.out -- ./xalancbmk_base.i386 -v t5.xml xalanc.xsl > xalancbmk.ref.out 2> xalancbmk.ref.err && cp xalancbmk.out "../../runs/$prefix.483.xalancbmk.out.$(date +%Y%m%d%H%M%S)" &
# OPTIONAL
cd spec_2006/436.cactusADM/ && pin -t ../../obj-ia32/HW1.so -f 584 -o cactusADM.out -- ./cactusADM_base.i386 benchADM.par > cactusADM.ref.out 2> cactusADM.ref.err && cp cactusADM.out "../../runs/$prefix.436.cactusADM.out.$(date +%Y%m%d%H%M%S)" &
cd spec_2006/437.leslie3d/ && pin -t ../../obj-ia32/HW1.so -f 2346 -o leslie3d.out -- ./leslie3d_base.i386 < leslie3d.in > leslie3d.ref.out 2> leslie3d.ref.err && cp leslie3d.out "../../runs/$prefix.437.leslie3d.out.$(date +%Y%m%d%H%M%S)" &
cd spec_2006/462.libquantum/ && pin -t ../../obj-ia32/HW1.so -f 3605 -o libquantum.out -- ./libquantum_base.i386 1397 8 > libquantum.ref.out 2> libquantum.ref.err && cp libquantum.out "../../runs/$prefix.462.libquantum.out.$(date +%Y%m%d%H%M%S)" &
cd spec_2006/470.lbm/ && pin -t ../../obj-ia32/HW1.so -f 830 -o lbm.out -- ./lbm_base.i386 3000 reference.dat 0 0 100_100_130_ldc.of > lbm.ref.out 2> lbm.ref.err && cp lbm.out "../../runs/$prefix.470.lbm.out.$(date +%Y%m%d%H%M%S)" &
cd spec_2006/482.sphinx3/ && pin -t ../../obj-ia32/HW1.so -f 1513 -o sphinx3.out -- ./sphinx3_base.i386 ctlfile . args.an4 > sphinx3.ref.out 2> sphinx3.ref.err && cp sphinx3.out "../../runs/$prefix.482.sphinx3.out.$(date +%Y%m%d%H%M%S)" &
# no out routing
# cd spec_2006/400.perlbench/ && pin -t ../../obj-ia32/HW1.so -f 207 -- ./perlbench_base.i386 -I./lib diffmail.pl 4 800 10 17 19 300 && cp perlbench.diffmail.out "../../runs/$prefix.400.perlbench.diffmail.out.$(date +%Y%m%d%H%M%S)" && cd -
# cd spec_2006/401.bzip2/ && pin -t ../../obj-ia32/HW1.so -f 301 -- ./bzip2_base.i386 input.source 280 && cp bzip2.source.out "../../runs/$prefix.401.bzip2.source.out.$(date +%Y%m%d%H%M%S)" && cd -
# cd spec_2006/403.gcc/ && pin -t ../../obj-ia32/HW1.so -f 107 -- ./gcc_base.i386 cp-decl.i -o cp-decl.s && cp gcc.cp-decl.out "../../runs/$prefix.403.gcc.cp-decl.out.$(date +%Y%m%d%H%M%S)" && cd -
# cd spec_2006/429.mcf/ && pin -t ../../obj-ia32/HW1.so -f 377 -- ./mcf_base.i386 inp.in && cp mcf.out "../../runs/$prefix.429.mcf.out.$(date +%Y%m%d%H%M%S)" && cd -
# cd spec_2006/450.soplex/ && pin -t ../../obj-ia32/HW1.so -f 364 -- ./soplex_base.i386 -m3500 ref.mps && cp soplex.ref.out "../../runs/$prefix.450.soplex.ref.out.$(date +%Y%m%d%H%M%S)" && cd -
# cd spec_2006/456.hmmer/ && pin -t ../../obj-ia32/HW1.so -f 264 -- ./hmmer_base.i386 nph3.hmm swiss41 && cp hmmer.nph3.out "../../runs/$prefix.456.hmmer.nph3.out.$(date +%Y%m%d%H%M%S)" && cd -
# cd spec_2006/471.omnetpp/ && pin -t ../../obj-ia32/HW1.so -f 43 -- ./omnetpp_base.i386 omnetpp.ini && cp omnetpp.out "../../runs/$prefix.471.omnetpp.out.$(date +%Y%m%d%H%M%S)" && cd -
# cd spec_2006/483.xalancbmk/ && pin -t ../../obj-ia32/HW1.so -f 1331 -- ./xalancbmk_base.i386 -v t5.xml xalanc.xsl && cp xalancbmk.out "../../runs/$prefix.483.xalancbmk.out.$(date +%Y%m%d%H%M%S)" && cd -