Reflect changes to ISA
[riscv-tests.git] / benchmarks / qsort / qsort_main.c
index 6de16136f35fa1557ceb0815d70f252b39ec5f50..486b8fc81df31ce429ebcde4fd7712518930b96b 100644 (file)
@@ -92,7 +92,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
 }