projects
/
riscv-tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Reflect changes to ISA
[riscv-tests.git]
/
benchmarks
/
qsort
/
qsort_main.c
diff --git
a/benchmarks/qsort/qsort_main.c
b/benchmarks/qsort/qsort_main.c
index 6de16136f35fa1557ceb0815d70f252b39ec5f50..486b8fc81df31ce429ebcde4fd7712518930b96b 100644
(file)
--- a/
benchmarks/qsort/qsort_main.c
+++ b/
benchmarks/qsort/qsort_main.c
@@
-92,7
+92,7
@@
void finishTest( int toHostValue )
printf( "*** FAILED *** (tohost = %d)\n", toHostValue );
exit(0);
#else
- asm( "mtpcr %0,
cr30
" : : "r" (toHostValue) );
+ asm( "mtpcr %0,
tohost
" : : "r" (toHostValue) );
while ( 1 ) { }
#endif
}