Mercurial > pygar
annotate config/bm/Pygar/processor_test/mips_nonblocking.cfx @ 23:90197e3375e2 pygar svn.24
[svn r24] added testing, but something is wrong with our c++ file.
author | rlm |
---|---|
date | Wed, 28 Apr 2010 08:19:09 -0400 |
parents | |
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); |