[5237] target-alpha: fix TCG register names
Revision: 5237
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5237 Author: aurel32 Date: 2008-09-16 22:44:17 +0000 (Tue, 16 Sep 2008)
Log Message:
-----------
target-alpha: fix TCG register names
Signed-off-by Aurelien Jarno <[email protected]>
Modified Paths:
--------------
trunk/target-alpha/translate.c
Modified: trunk/target-alpha/translate.c
===================================================================
target-alpha/translate.c +2 -2
@@ -54,7 +54,7 @@static TCGv cpu_T[3 ];/* register names */ -static char cpu_reg_names[5 *31 ]; +static char cpu_reg_names[10 *4 +21 *5 ];#include "gen-icount.h"
@@ -87,7 +87,7 @@sprintf (p,"ir%d" , i); cpu_ir[i] =tcg_global_mem_new (TCG_TYPE_I64 ,TCG_AREG0 , offsetof(CPUState, ir[i]), p); - p +=4 ; + p += (i <10 ) ?4 :5 ; } cpu_pc = tcg_global_mem_new(TCG_TYPE_I64, TCG_AREG0,