Reflect changes to ISA
[riscv-tests.git] / benchmarks / vvadd / vvadd_main.c
index 9738118cc1e00c93f98af0317fb00a3b5b163aad..70b3f75e1116c5d3ae7dcf8890771420e6bbeccb 100644 (file)
@@ -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
 }