Reflect changes to ISA
[riscv-tests.git] / benchmarks / spmv / spmv_main.c
index 11d954082bf9a3ffc3cf9473c045446f03f07f04..afb1cf176858ba4d754c80ee9d2d34b246db7f08 100644 (file)
@@ -70,7 +70,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
 }