Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KfjHS-00067z-Do for qemu-devel@nongnu.org; Tue, 16 Sep 2008 18:44:22 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KfjHR-00067Z-Tu for qemu-devel@nongnu.org; Tue, 16 Sep 2008 18:44:21 -0400 Received: from [199.232.76.173] (port=47835 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KfjHR-00067S-LG for qemu-devel@nongnu.org; Tue, 16 Sep 2008 18:44:21 -0400 Received: from savannah.gnu.org ([199.232.41.3]:38825 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KfjHQ-0001I5-RX for qemu-devel@nongnu.org; Tue, 16 Sep 2008 18:44:21 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1KfjHO-0006rI-7g for qemu-devel@nongnu.org; Tue, 16 Sep 2008 22:44:18 +0000 Received: from aurel32 by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1KfjHO-0006rE-1o for qemu-devel@nongnu.org; Tue, 16 Sep 2008 22:44:18 +0000 MIME-Version: 1.0 Errors-To: aurel32 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Aurelien Jarno Message-Id: Date: Tue, 16 Sep 2008 22:44:18 +0000 Subject: [Qemu-devel] [5237] target-alpha: fix TCG register names Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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 Modified Paths: -------------- trunk/target-alpha/translate.c Modified: trunk/target-alpha/translate.c =================================================================== --- trunk/target-alpha/translate.c 2008-09-16 22:44:10 UTC (rev 5236) +++ trunk/target-alpha/translate.c 2008-09-16 22:44:17 UTC (rev 5237) @@ -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,