Update benchmarks to new privileged ISA
[riscv-tests.git] / benchmarks / common / util.h
index 79d9256a7060c0eedfd2919a2ee815e1155b65b5..10f3169aa5608a074851eeec7b1436682449b9fb 100644 (file)
@@ -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
 }