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
/
median
/
median_main.c
diff --git
a/benchmarks/median/median_main.c
b/benchmarks/median/median_main.c
index 6decd3d0b8b78f476353db8d92781ac3e1f2851c..5c435ddf56e20dc027d2e94cdc1d58dc687e7056 100644
(file)
--- a/
benchmarks/median/median_main.c
+++ b/
benchmarks/median/median_main.c
@@
-76,7
+76,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
}