From patchwork Tue Nov 6 04:41:20 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Evgeny Voevodin X-Patchwork-Id: 197401 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id EFD522C0091 for ; Tue, 6 Nov 2012 15:42:12 +1100 (EST) Received: from localhost ([::1]:41198 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVazL-0005Dg-22 for incoming@patchwork.ozlabs.org; Mon, 05 Nov 2012 23:42:11 -0500 Received: from eggs.gnu.org ([208.118.235.92]:38221) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVaz6-0004oj-1i for qemu-devel@nongnu.org; Mon, 05 Nov 2012 23:41:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TVaz5-00030v-4t for qemu-devel@nongnu.org; Mon, 05 Nov 2012 23:41:55 -0500 Received: from mailout3.w1.samsung.com ([210.118.77.13]:59679) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVaz4-00030q-Vp for qemu-devel@nongnu.org; Mon, 05 Nov 2012 23:41:55 -0500 Received: from eusync1.samsung.com (mailout3.w1.samsung.com [210.118.77.13]) by mailout3.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MD100E9GUEJN230@mailout3.w1.samsung.com> for qemu-devel@nongnu.org; Tue, 06 Nov 2012 04:42:19 +0000 (GMT) Received: from evvoevodinPC.rnd.samsung.ru ([106.109.8.15]) by eusync1.samsung.com (Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0MD1001FDUD3QL00@eusync1.samsung.com> for qemu-devel@nongnu.org; Tue, 06 Nov 2012 04:41:53 +0000 (GMT) From: Evgeny Voevodin To: qemu-devel@nongnu.org Date: Tue, 06 Nov 2012 08:41:20 +0400 Message-id: <1352176885-13324-3-git-send-email-e.voevodin@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1352176885-13324-1-git-send-email-e.voevodin@samsung.com> References: <1352176885-13324-1-git-send-email-e.voevodin@samsung.com> X-TM-AS-MML: No X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 210.118.77.13 Cc: Evgeny Voevodin , blauwirbel@gmail.com, kyungmin.park@samsung.com, edgar.iglesias@gmail.com, aurelien@aurel32.net, rth@twiddle.net Subject: [Qemu-devel] [PATCH v5 2/7] tcg/tcg.h: Duplicate global TCG variables in TCGContext X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Evgeny Voevodin Reviewed-by: Richard Henderson --- tcg/tcg.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tcg/tcg.h b/tcg/tcg.h index c2ae873..6ffec1d 100644 --- a/tcg/tcg.h +++ b/tcg/tcg.h @@ -450,6 +450,12 @@ struct TCGContext { int goto_tb_issue_mask; #endif + uint16_t gen_opc_buf[OPC_BUF_SIZE]; + TCGArg gen_opparam_buf[OPPARAM_BUF_SIZE]; + + uint16_t *gen_opc_ptr; + TCGArg *gen_opparam_ptr; + #if defined(CONFIG_QEMU_LDST_OPTIMIZATION) && defined(CONFIG_SOFTMMU) /* labels info for qemu_ld/st IRs The labels help to generate TLB miss case codes at the end of TB */