X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=benchmarks%2Fvvadd%2Fvvadd_main.c;h=70b3f75e1116c5d3ae7dcf8890771420e6bbeccb;hb=5fe2ce69dcd1d0ddb42c4edffac7ab11d939ca45;hp=9738118cc1e00c93f98af0317fb00a3b5b163aad;hpb=5b13eb6cd5aa3e73fb477414f1866e7b9cbeaf3f;p=riscv-tests.git diff --git a/benchmarks/vvadd/vvadd_main.c b/benchmarks/vvadd/vvadd_main.c index 9738118..70b3f75 100644 --- a/benchmarks/vvadd/vvadd_main.c +++ b/benchmarks/vvadd/vvadd_main.c @@ -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 }