aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/spmv/spmv_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/spmv/spmv_main.c')
-rw-r--r--benchmarks/spmv/spmv_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmarks/spmv/spmv_main.c b/benchmarks/spmv/spmv_main.c
index 11d9540..afb1cf1 100644
--- a/benchmarks/spmv/spmv_main.c
+++ b/benchmarks/spmv/spmv_main.c
@@ -70,7 +70,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
}