Mercurial > pygar
view config/bm/Pygar/processor_test/audio_core_benchmark.cfx @ 42:ced2ebd41347 pygar svn.43
[svn r43] bunch of updates that almost work...
author | punk |
---|---|
date | Wed, 05 May 2010 01:09:09 -0400 |
parents | 7ac38b0f93fa |
children | 97d1959f7c5c |
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 = ("smipsv1_simple",15 "smipsv1_addiu",16 "smipsv1_bne",17 "smipsv1_lw",18 "smipsv1_sw",19 "smipsv2_addiu",20 "smipsv2_addu",21 "smipsv2_andi",22 "smipsv2_and",23 "smipsv2_beq",24 "smipsv2_bgez",25 "smipsv2_bgtz",26 "smipsv2_blez");28 my @bmarks = ("null.wav", "reuben_james_1sec.wav", "rlp.wav");30 foreach my $test (@tests) {31 $gcfg->add(name => $test,32 tree => [ "tests" ],33 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",34 feeder => "vcs",35 feedflags => "program.0/${test}.smips.vmh",36 ccount => 800000,37 );38 }40 foreach my $bmark (@bmarks) {41 $gcfg->add(name => $bmark,42 tree => [ "benchmarks" ],43 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",44 feeder => "none",45 ccount => 800000, #Hmmm.... may need to edit46 );47 }49 $gcfg->action(@ARGV);