From patchwork Thu Oct 22 20:17:47 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aurelien Jarno X-Patchwork-Id: 36746 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id CC034B7BBD for ; Fri, 23 Oct 2009 08:07:54 +1100 (EST) Received: from localhost ([127.0.0.1]:60243 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N14sy-00050U-40 for incoming@patchwork.ozlabs.org; Thu, 22 Oct 2009 17:07:52 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N14pl-0003n4-0D for qemu-devel@nongnu.org; Thu, 22 Oct 2009 17:04:33 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N14pk-0003ms-Fw for qemu-devel@nongnu.org; Thu, 22 Oct 2009 17:04:32 -0400 Received: from [199.232.76.173] (port=48141 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N14pk-0003mn-A3 for qemu-devel@nongnu.org; Thu, 22 Oct 2009 17:04:32 -0400 Received: from hall.aurel32.net ([88.191.82.174]:47896) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N14pj-0001qQ-FU for qemu-devel@nongnu.org; Thu, 22 Oct 2009 17:04:31 -0400 Received: from aurel32 by hall.aurel32.net with local (Exim 4.69) (envelope-from ) id 1N14ph-0006xh-O1; Thu, 22 Oct 2009 23:04:29 +0200 Resent-From: Aurelien Jarno Resent-Date: Thu, 22 Oct 2009 23:04:29 +0200 Resent-Message-ID: <20091022210429.GP1883@hall.aurel32.net> Resent-To: qemu-devel@nongnu.org, arnaud.patard@rtp-net.org Message-Id: X-OfflineIMAP-x472421255-52656d6f7465617572656c3332-494e424f58: 1256242146-0238063840285-v6.0.3 In-Reply-To: References: From: Aurelien Jarno To: qemu-devel@nongnu.org Date: Thu, 22 Oct 2009 22:17:47 +0200 Resent-Sender: Aurelien Jarno Resent-Date: Thu, 22 Oct 2009 23:04:29 +0200 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Cc: Arnaud Patard Subject: [Qemu-devel] [PATCH 4/5] tcg: increase TCG_MAX_OP_SIZE to 192 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org This is needed on a MIPS host and a 64-bit cross-endian target. Signed-off-by: Aurelien Jarno --- exec-all.h | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/exec-all.h b/exec-all.h index dd134a9..820b59e 100644 --- a/exec-all.h +++ b/exec-all.h @@ -41,10 +41,10 @@ typedef struct TranslationBlock TranslationBlock; #define OPC_MAX_SIZE (OPC_BUF_SIZE - MAX_OP_PER_INSTR) /* Maximum size a TCG op can expand to. This is complicated because a - single op may require several host instructions and regirster reloads. - For now take a wild guess at 128 bytes, which should allow at least + single op may require several host instructions and register reloads. + For now take a wild guess at 192 bytes, which should allow at least a couple of fixup instructions per argument. */ -#define TCG_MAX_OP_SIZE 128 +#define TCG_MAX_OP_SIZE 192 #define OPPARAM_BUF_SIZE (OPC_BUF_SIZE * MAX_OPC_PARAM)