From patchwork Wed Nov 21 07:43:03 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Evgeny Voevodin X-Patchwork-Id: 200593 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 7DA932C0093 for ; Wed, 21 Nov 2012 18:43:32 +1100 (EST) Received: from localhost ([::1]:46846 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tb4y2-00078B-5r for incoming@patchwork.ozlabs.org; Wed, 21 Nov 2012 02:43:30 -0500 Received: from eggs.gnu.org ([208.118.235.92]:51251) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tb4xt-00077j-Sd for qemu-devel@nongnu.org; Wed, 21 Nov 2012 02:43:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tb4xs-0000C8-ET for qemu-devel@nongnu.org; Wed, 21 Nov 2012 02:43:21 -0500 Received: from mailout2.w1.samsung.com ([210.118.77.12]:43583) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tb4xs-000096-90 for qemu-devel@nongnu.org; Wed, 21 Nov 2012 02:43:20 -0500 Received: from eusync4.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) by mailout2.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MDT006YFUSJPA60@mailout2.w1.samsung.com> for qemu-devel@nongnu.org; Wed, 21 Nov 2012 07:43:31 +0000 (GMT) Received: from evvoevodinPC.rnd.samsung.ru ([106.109.8.15]) by eusync4.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MDT00BGQURZGE50@eusync4.samsung.com> for qemu-devel@nongnu.org; Wed, 21 Nov 2012 07:43:16 +0000 (GMT) From: Evgeny Voevodin To: qemu-devel@nongnu.org Date: Wed, 21 Nov 2012 11:43:03 +0400 Message-id: <1353483787-22308-2-git-send-email-e.voevodin@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1353483787-22308-1-git-send-email-e.voevodin@samsung.com> References: <1353483787-22308-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.12 Cc: Evgeny Voevodin , blauwirbel@gmail.com, kyungmin.park@samsung.com, edgar.iglesias@gmail.com, aurelien@aurel32.net, rth@twiddle.net Subject: [Qemu-devel] [PATCH 1/5] tcg/tcg.h: Duplicate global TCG gen_opc_ arrays into 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 --- tcg/tcg.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tcg/tcg.h b/tcg/tcg.h index 9481e35..f6e255f 100644 --- a/tcg/tcg.h +++ b/tcg/tcg.h @@ -455,6 +455,9 @@ struct TCGContext { uint16_t *gen_opc_ptr; TCGArg *gen_opparam_ptr; + target_ulong gen_opc_pc[OPC_BUF_SIZE]; + uint16_t gen_opc_icount[OPC_BUF_SIZE]; + uint8_t gen_opc_instr_start[OPC_BUF_SIZE]; #if defined(CONFIG_QEMU_LDST_OPTIMIZATION) && defined(CONFIG_SOFTMMU) /* labels info for qemu_ld/st IRs