rlm@70: : # -*-Perl-*- rlm@70: eval 'exec perl -w "$0" ${1+"$@"}' rlm@70: if 0; rlm@70: rlm@70: ## rlm@70: ## Directory of hasim benchmarks rlm@70: ## Remember to set this file as executable rlm@70: rlm@70: use Asim; rlm@70: use strict; rlm@70: rlm@70: my $gcfg = Asim::GenCFG->new(); rlm@70: rlm@70: my @tests = ( rlm@70: "thru"); rlm@70: rlm@70: rlm@70: rlm@70: my @bmarks = ("null", rlm@70: ); rlm@70: rlm@70: foreach my $bmark (@bmarks) { rlm@70: $gcfg->add(name => $bmark, rlm@70: tree => [ "benchmarks" ], rlm@70: setup => "tools/scripts/setup-bmark $bmark --contexts=0", rlm@70: feeder => "none", rlm@70: ccount => 800000, rlm@70: ); rlm@70: } rlm@70: rlm@70: rlm@70: rlm@70: rlm@70: rlm@70: rlm@70: foreach my $test (@tests) { rlm@70: $gcfg->add(name => $test, rlm@70: tree => [ "tests" ], rlm@70: setup => "scripts/setup-mit-6.375-bmark-audio-core --group instruction-tests --isa smips $test --data=../benchmarks/audio_processor_test/rlp.wav --linkto=../tools/audio_processor_test/null/checker", rlm@70: feeder => "vcs", rlm@70: feedflags => "program.0/${test}.smips.vmh", rlm@70: ccount => 800000, rlm@70: ); rlm@70: } rlm@70: rlm@70: rlm@70: $gcfg->action(@ARGV);