annotate 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
rev   line source
punk@31 1 : # -*-Perl-*-
punk@31 2 eval 'exec perl -w "$0" ${1+"$@"}'
punk@31 3 if 0;
punk@31 4
punk@31 5 ##
punk@31 6 ## Directory of hasim benchmarks
punk@31 7 ## Remember to set this file as executable
punk@31 8
punk@31 9 use Asim;
punk@31 10 use strict;
punk@31 11
punk@31 12 my $gcfg = Asim::GenCFG->new();
punk@31 13
rlm@47 14 my @tests = (
rlm@47 15 "thru",
rlm@47 16 "smipsv1_simple",
punk@31 17 "smipsv1_addiu",
punk@31 18 "smipsv1_bne",
punk@31 19 "smipsv1_lw",
punk@31 20 "smipsv1_sw",
punk@31 21 "smipsv2_addiu",
punk@31 22 "smipsv2_addu",
punk@31 23 "smipsv2_andi",
punk@31 24 "smipsv2_and",
punk@31 25 "smipsv2_beq",
punk@32 26 "smipsv2_bgez",
punk@32 27 "smipsv2_bgtz",
punk@32 28 "smipsv2_blez");
punk@31 29
rlm@34 30 my @bmarks = ("null.wav", "reuben_james_1sec.wav", "rlp.wav");
punk@31 31
rlm@47 32
rlm@47 33
rlm@47 34
rlm@47 35
rlm@47 36
rlm@47 37
punk@31 38 foreach my $test (@tests) {
punk@31 39 $gcfg->add(name => $test,
punk@31 40 tree => [ "tests" ],
rlm@40 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",
punk@31 42 feeder => "vcs",
punk@31 43 feedflags => "program.0/${test}.smips.vmh",
punk@31 44 ccount => 800000,
punk@31 45 );
punk@31 46 }
punk@31 47
punk@31 48 foreach my $bmark (@bmarks) {
punk@31 49 $gcfg->add(name => $bmark,
punk@31 50 tree => [ "benchmarks" ],
punk@31 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",
punk@31 52 feeder => "none",
punk@31 53 ccount => 800000, #Hmmm.... may need to edit
punk@31 54 );
punk@31 55 }
punk@31 56
punk@31 57 $gcfg->action(@ARGV);