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
/
dhrystone
/
dhrystone_main.c
diff --git
a/benchmarks/dhrystone/dhrystone_main.c
b/benchmarks/dhrystone/dhrystone_main.c
index 7e8c6afeea862da0f0dbbfd1470657709e170e4d..c2a8038de8c8dabbc07a1b022a6e1196e7a9d298 100644
(file)
--- a/
benchmarks/dhrystone/dhrystone_main.c
+++ b/
benchmarks/dhrystone/dhrystone_main.c
@@
-53,7
+53,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
}