diff options
author | Andrew Waterman <andrew@sifive.com> | 2017-03-21 17:04:49 -0700 |
---|---|---|
committer | Andrew Waterman <andrew@sifive.com> | 2017-03-21 17:04:49 -0700 |
commit | 9fbc573597c8087ab0aa8e20d8835cfc2c5097a4 (patch) | |
tree | 469c6767566934c0e723dd269e611447bdea65a8 /benchmarks/vvadd | |
parent | d2bd84a096a97ff4b8f41035c984991d0df922c1 (diff) | |
download | riscv-tests-9fbc573597c8087ab0aa8e20d8835cfc2c5097a4.zip riscv-tests-9fbc573597c8087ab0aa8e20d8835cfc2c5097a4.tar.gz riscv-tests-9fbc573597c8087ab0aa8e20d8835cfc2c5097a4.tar.bz2 |
Remove smips/host-debugging cruft
Diffstat (limited to 'benchmarks/vvadd')
-rw-r--r-- | benchmarks/vvadd/vvadd_main.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/benchmarks/vvadd/vvadd_main.c b/benchmarks/vvadd/vvadd_main.c index 00e1593..d8ff01c 100644 --- a/benchmarks/vvadd/vvadd_main.c +++ b/benchmarks/vvadd/vvadd_main.c @@ -7,11 +7,7 @@ // This benchmark uses adds to vectors and writes the results to a // third vector. The input data (and reference data) should be // generated using the vvadd_gendata.pl perl script and dumped -// to a file named dataset1.h The smips-gcc toolchain does not -// support system calls so printf's can only be used on a host system, -// not on the smips processor simulator itself. You should not change -// anything except the HOST_DEBUG and PREALLOCATE macros for your timing -// runs. +// to a file named dataset1.h. #include "util.h" @@ -37,11 +33,6 @@ int main( int argc, char* argv[] ) { int results_data[DATA_SIZE]; - // Output the input array - printArray( "input1", DATA_SIZE, input1_data ); - printArray( "input2", DATA_SIZE, input2_data ); - printArray( "verify", DATA_SIZE, verify_data ); - #if PREALLOCATE // If needed we preallocate everything in the caches vvadd( DATA_SIZE, input1_data, input2_data, results_data ); @@ -52,9 +43,6 @@ int main( int argc, char* argv[] ) vvadd( DATA_SIZE, input1_data, input2_data, results_data ); setStats(0); - // Print out the results - printArray( "results", DATA_SIZE, results_data ); - // Check the results return verify( DATA_SIZE, results_data, verify_data ); } |