Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K6O76-0003NP-OR for qemu-devel@nongnu.org; Wed, 11 Jun 2008 07:03:36 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K6O76-0003Mm-3m for qemu-devel@nongnu.org; Wed, 11 Jun 2008 07:03:36 -0400 Received: from [199.232.76.173] (port=43212 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K6O76-0003Mf-1l for qemu-devel@nongnu.org; Wed, 11 Jun 2008 07:03:36 -0400 Received: from savannah.gnu.org ([199.232.41.3]:59077 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 1K6O75-0002hl-GN for qemu-devel@nongnu.org; Wed, 11 Jun 2008 07:03:35 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1K6O74-0006ZA-Rm for qemu-devel@nongnu.org; Wed, 11 Jun 2008 11:03:34 +0000 Received: from ths by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1K6O74-0006Z6-GA for qemu-devel@nongnu.org; Wed, 11 Jun 2008 11:03:34 +0000 MIME-Version: 1.0 Errors-To: ths Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Thiemo Seufer Message-Id: Date: Wed, 11 Jun 2008 11:03:34 +0000 Subject: [Qemu-devel] [4730] Allocate register pair for 64-bit registers on 32-bit host. 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: 4730 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4730 Author: ths Date: 2008-06-11 11:03:34 +0000 (Wed, 11 Jun 2008) Log Message: ----------- Allocate register pair for 64-bit registers on 32-bit host. Modified Paths: -------------- trunk/tcg/tcg.c Modified: trunk/tcg/tcg.c =================================================================== --- trunk/tcg/tcg.c 2008-06-11 10:40:33 UTC (rev 4729) +++ trunk/tcg/tcg.c 2008-06-11 11:03:34 UTC (rev 4730) @@ -423,7 +423,7 @@ idx = s->nb_temps; #if TCG_TARGET_REG_BITS == 32 if (type == TCG_TYPE_I64) { - tcg_temp_alloc(s, s->nb_temps + 1); + tcg_temp_alloc(s, s->nb_temps + 2); ts = &s->temps[s->nb_temps]; ts->base_type = type; ts->type = TCG_TYPE_I32; @@ -1961,7 +1961,7 @@ break; } args += def->nb_args; - next: ; + next: if (search_pc >= 0 && search_pc < s->code_ptr - gen_code_buf) { return op_index; }