Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kq9jd-00068X-7C for qemu-devel@nongnu.org; Wed, 15 Oct 2008 13:00:33 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kq9jc-00067x-2m for qemu-devel@nongnu.org; Wed, 15 Oct 2008 13:00:32 -0400 Received: from [199.232.76.173] (port=54471 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kq9jb-00067o-Dq for qemu-devel@nongnu.org; Wed, 15 Oct 2008 13:00:31 -0400 Received: from savannah.gnu.org ([199.232.41.3]:52160 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 1Kq9jb-00066i-4j for qemu-devel@nongnu.org; Wed, 15 Oct 2008 13:00:31 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1Kq9ja-0006vS-7q for qemu-devel@nongnu.org; Wed, 15 Oct 2008 17:00:30 +0000 Received: from aurel32 by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1Kq9jZ-0006vO-Hm for qemu-devel@nongnu.org; Wed, 15 Oct 2008 17:00:30 +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: Wed, 15 Oct 2008 17:00:29 +0000 Subject: [Qemu-devel] [5492] target-ppc: fix a TCG local variable creation 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: 5492 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5492 Author: aurel32 Date: 2008-10-15 17:00:29 +0000 (Wed, 15 Oct 2008) Log Message: ----------- target-ppc: fix a TCG local variable creation Signed-off-by: Aurelien Jarno Modified Paths: -------------- trunk/target-ppc/translate.c Modified: trunk/target-ppc/translate.c =================================================================== --- trunk/target-ppc/translate.c 2008-10-15 17:00:18 UTC (rev 5491) +++ trunk/target-ppc/translate.c 2008-10-15 17:00:29 UTC (rev 5492) @@ -5293,7 +5293,7 @@ tcg_gen_mov_i64(cpu_gpr[reg], t); #else tcg_gen_trunc_i64_i32(cpu_gpr[reg], t); - TCGv tmp = tcg_temp_local_new(TCG_TYPE_I64); + TCGv tmp = tcg_temp_new(TCG_TYPE_I64); tcg_gen_shri_i64(tmp, t, 32); tcg_gen_trunc_i64_i32(cpu_gprh[reg], tmp); tcg_temp_free(tmp);