Mercurial > pygar
view config/bm/Pygar/processor_test/audio_core_benchmark.cfx @ 47:97d1959f7c5c pygar svn.48
[svn r48] changed sctipt to use our own programs, changed rlp.wav and rlp1.wav to be shorter
author | rlm |
---|---|
date | Wed, 05 May 2010 13:23:58 -0400 |
parents | 7ac38b0f93fa |
children |
line wrap: on
line source
1 : # -*-Perl-*-2 eval 'exec perl -w "$0" ${1+"$@"}'3 if 0;5 ##6 ## Directory of hasim benchmarks7 ## Remember to set this file as executable9 use Asim;10 use strict;12 my $gcfg = Asim::GenCFG->new();14 my @tests = (15 "thru",16 "smipsv1_simple",17 "smipsv1_addiu",18 "smipsv1_bne",19 "smipsv1_lw",20 "smipsv1_sw",21 "smipsv2_addiu",22 "smipsv2_addu",23 "smipsv2_andi",24 "smipsv2_and",25 "smipsv2_beq",26 "smipsv2_bgez",27 "smipsv2_bgtz",28 "smipsv2_blez");30 my @bmarks = ("null.wav", "reuben_james_1sec.wav", "rlp.wav");38 foreach my $test (@tests) {39 $gcfg->add(name => $test,40 tree => [ "tests" ],41 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",42 feeder => "vcs",43 feedflags => "program.0/${test}.smips.vmh",44 ccount => 800000,45 );46 }48 foreach my $bmark (@bmarks) {49 $gcfg->add(name => $bmark,50 tree => [ "benchmarks" ],51 setup => "scripts/setup-mit-6.375-bmark --silent=1 --compare=1 --data=../benchmarks/audio_processor_test/$bmark $bmark --linkto=../tools/audio_processor_test/null/checker",52 feeder => "none",53 ccount => 800000, #Hmmm.... may need to edit54 );55 }57 $gcfg->action(@ARGV);