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
/
vvadd
/
vvadd_main.c
diff --git
a/benchmarks/vvadd/vvadd_main.c
b/benchmarks/vvadd/vvadd_main.c
index 9738118cc1e00c93f98af0317fb00a3b5b163aad..70b3f75e1116c5d3ae7dcf8890771420e6bbeccb 100644
(file)
--- a/
benchmarks/vvadd/vvadd_main.c
+++ b/
benchmarks/vvadd/vvadd_main.c
@@
-77,7
+77,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
}