Reflect changes to ISA
[riscv-tests.git] / benchmarks / dhrystone / dhrystone_main.c
index 7e8c6afeea862da0f0dbbfd1470657709e170e4d..c2a8038de8c8dabbc07a1b022a6e1196e7a9d298 100644 (file)
@@ -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
 }