Reflect changes to ISA
[riscv-tests.git] / benchmarks / median / median_main.c
index 6decd3d0b8b78f476353db8d92781ac3e1f2851c..5c435ddf56e20dc027d2e94cdc1d58dc687e7056 100644 (file)
@@ -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
 }