Reflect changes to ISA
[riscv-tests.git] / benchmarks / towers / towers_main.c
index 36526a2b2628f3bd788c5f8806d1be7019e03725..aa616653a366994c3fc947b3bcf7f143025addaa 100644 (file)
@@ -59,7 +59,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
 }