Mercurial > pygar
annotate config/bm/Pygar/processor_test/mips_nonblocking.cfx @ 70:bbd58fb592c9 pygar svn.71
[svn r71] better benchmarks
author | rlm |
---|---|
date | Wed, 12 May 2010 00:14:01 -0400 |
parents | 90197e3375e2 |
children |
rev | line source |
---|---|
rlm@23 | 1 : # -*-Perl-*- |
rlm@23 | 2 eval 'exec perl -w "$0" ${1+"$@"}' |
rlm@23 | 3 if 0; |
rlm@23 | 4 |
rlm@23 | 5 use Asim; |
rlm@23 | 6 use strict; |
rlm@23 | 7 |
rlm@23 | 8 ## |
rlm@23 | 9 ## Generate cfg files for 6.375 tests and benchmarks. |
rlm@23 | 10 ## |
rlm@23 | 11 |
rlm@23 | 12 my $gcfg = Asim::GenCFG->new(); |
rlm@23 | 13 |
rlm@23 | 14 |
rlm@23 | 15 my @bmarks = ("median_noprealloc", |
rlm@23 | 16 "multiply_noprealloc", |
rlm@23 | 17 "towers_noprealloc", |
rlm@23 | 18 "qsort_noprealloc", |
rlm@23 | 19 "vvadd_noprealloc"); |
rlm@23 | 20 |
rlm@23 | 21 foreach my $bmark (@bmarks) { |
rlm@23 | 22 $gcfg->add(name => $bmark, |
rlm@23 | 23 tree => [ "benchmarks" ], |
rlm@23 | 24 setup => "scripts/setup-mit-6.375-bmark-processor --isa smips $bmark", |
rlm@23 | 25 feeder => "vcs", |
rlm@23 | 26 feedflags => "program.0/${bmark}.smips.vmh", |
rlm@23 | 27 ); |
rlm@23 | 28 } |
rlm@23 | 29 |
rlm@23 | 30 $gcfg->action(@ARGV); |