aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/common/util.h
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@eecs.berkeley.edu>2013-11-25 02:25:42 -0800
committerAndrew Waterman <waterman@eecs.berkeley.edu>2013-11-25 02:25:42 -0800
commitb374fd10b2b36124bb6813211a7ec690e1fa8350 (patch)
tree507347f35c795cceb1ade04eae7d6a8b77547653 /benchmarks/common/util.h
parent2e4376c4acf1e9460ca714102dd955a9bd10c488 (diff)
downloadriscv-tests-b374fd10b2b36124bb6813211a7ec690e1fa8350.zip
riscv-tests-b374fd10b2b36124bb6813211a7ec690e1fa8350.tar.gz
riscv-tests-b374fd10b2b36124bb6813211a7ec690e1fa8350.tar.bz2
Update benchmarks to new privileged ISA
Diffstat (limited to 'benchmarks/common/util.h')
-rw-r--r--benchmarks/common/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmarks/common/util.h b/benchmarks/common/util.h
index 79d9256..10f3169 100644
--- a/benchmarks/common/util.h
+++ b/benchmarks/common/util.h
@@ -51,7 +51,7 @@ void finishTest(int test_result)
"li a2,0 ;"
"li a3,0 ;"
"li v0,%1 ;"
- "syscall" : : "r"(test_result) , "i"(SYS_exit));
+ "scall" : : "r"(test_result) , "i"(SYS_exit));
}
#endif
}