X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=benchmarks%2Fqsort%2Fqsort_main.c;h=486b8fc81df31ce429ebcde4fd7712518930b96b;hb=5fe2ce69dcd1d0ddb42c4edffac7ab11d939ca45;hp=6de16136f35fa1557ceb0815d70f252b39ec5f50;hpb=5b13eb6cd5aa3e73fb477414f1866e7b9cbeaf3f;p=riscv-tests.git diff --git a/benchmarks/qsort/qsort_main.c b/benchmarks/qsort/qsort_main.c index 6de1613..486b8fc 100644 --- a/benchmarks/qsort/qsort_main.c +++ b/benchmarks/qsort/qsort_main.c @@ -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 }