aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/rsort
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2017-03-21 17:04:49 -0700
committerAndrew Waterman <andrew@sifive.com>2017-03-21 17:04:49 -0700
commit9fbc573597c8087ab0aa8e20d8835cfc2c5097a4 (patch)
tree469c6767566934c0e723dd269e611447bdea65a8 /benchmarks/rsort
parentd2bd84a096a97ff4b8f41035c984991d0df922c1 (diff)
downloadriscv-tests-9fbc573597c8087ab0aa8e20d8835cfc2c5097a4.zip
riscv-tests-9fbc573597c8087ab0aa8e20d8835cfc2c5097a4.tar.gz
riscv-tests-9fbc573597c8087ab0aa8e20d8835cfc2c5097a4.tar.bz2
Remove smips/host-debugging cruft
Diffstat (limited to 'benchmarks/rsort')
-rw-r--r--benchmarks/rsort/rsort.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/benchmarks/rsort/rsort.c b/benchmarks/rsort/rsort.c
index dc53642..7ffc12a 100644
--- a/benchmarks/rsort/rsort.c
+++ b/benchmarks/rsort/rsort.c
@@ -8,10 +8,7 @@
// implementation is largely adapted from Numerical Recipes for C. The
// input data (and reference data) should be generated using the
// qsort_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 run.
+// dataset1.h
#include "util.h"
#include <string.h>
@@ -107,9 +104,6 @@ void sort(size_t n, type* arrIn, type* scratchIn)
int main( int argc, char* argv[] )
{
static type scratch[DATA_SIZE];
- // Output the input array
- printArray( "input", DATA_SIZE, input_data );
- printArray( "verify", DATA_SIZE, verify_data );
#if PREALLOCATE
// If needed we preallocate everything in the caches
@@ -123,9 +117,6 @@ int main( int argc, char* argv[] )
sort(DATA_SIZE, input_data, scratch);
setStats(0);
- // Print out the results
- printArray( "test", DATA_SIZE, input_data );
-
// Check the results
return verify( DATA_SIZE, input_data, verify_data );
}