Message ID | 20181209193749.12277-30-cota@braap.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7D9D2112E for <patchwork-qemu-devel@patchwork.kernel.org>; Sun, 9 Dec 2018 19:56:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6DB832A0E1 for <patchwork-qemu-devel@patchwork.kernel.org>; Sun, 9 Dec 2018 19:56:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5DDDA2A0F7; Sun, 9 Dec 2018 19:56:58 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 006C22A0E1 for <patchwork-qemu-devel@patchwork.kernel.org>; Sun, 9 Dec 2018 19:56:57 +0000 (UTC) Received: from localhost ([::1]:56487 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org>) id 1gW5CD-0004mZ-7Q for patchwork-qemu-devel@patchwork.kernel.org; Sun, 09 Dec 2018 14:56:57 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33610) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <cota@braap.org>) id 1gW4uS-0001c6-4y for qemu-devel@nongnu.org; Sun, 09 Dec 2018 14:38:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <cota@braap.org>) id 1gW4uN-0006ig-WD for qemu-devel@nongnu.org; Sun, 09 Dec 2018 14:38:35 -0500 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:42707) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <cota@braap.org>) id 1gW4uN-0005q8-OW for qemu-devel@nongnu.org; Sun, 09 Dec 2018 14:38:31 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id CBA6A9CA; Sun, 9 Dec 2018 14:38:06 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sun, 09 Dec 2018 14:38:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=braap.org; h= from:to:cc:subject:date:message-id:in-reply-to:references; s= mesmtp; bh=vlkd6OWzRQoAIyV2bn2Fgw0YY3lXEvIf3iJR9lzYZBg=; b=YMZVT au4AY+yk41Lv8uKWbmlAKAc4s+I2YrJC4WuEwFpxZuqqHvqhP9ztbBwpKk6+gf7v ZYQR2NwWknjPDH3F864sTYTe0p/niDzcwL3yASFGhlyRwii7LnG248kLS3NaNIzy wi6w0qVVwCg4cj/R651TtbrFK5yraYzXzYTbrc= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=vlkd6OWzRQoAIyV2bn2Fgw0YY3lXE vIf3iJR9lzYZBg=; b=StMJwBmcyK4AkcFp9MWkASyIPhPS5nNUyix5RFG2lAz4C K80Zmjqm4x7mVnnxkyulxNpqcbnHYSx6w6EabETNxdlTKyckO+F2ph2LZjDm6KU1 SASufJAdtDOnpdlugtmu3Bb02MrdJ/hnV697JVwBb7Aby2s14ILxddW4GNhhEf6M xDgujPjD3HpR11mB8/8KbsWX/diMjtnhQzkub9V4/GaLRB16W8ia5i+Rp3i090G5 dbEaHlKpSms/WrW+KmSj89mqqntjR2jSym+hoQ6UXwULjlvdavJF+5qNiwMzsnZT MVfhzqlYAeFlmitnYNG3MUfbsnSBIaZFJhDa0/UoQ== X-ME-Sender: <xms:Hm8NXGimd5a7P7HvmlKSXqWADtHJ-5Yjc9e1z41xt5KpScX_ti6YvA> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtkedrudegfedguddvkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfhuthenuceurghilhhouhhtmecu fedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufffkf fojghfsedttdertdertddtnecuhfhrohhmpedfgfhmihhlihhoucfirdcuvehothgrfdcu oegtohhtrgessghrrggrphdrohhrgheqnecukfhppeduvdekrdehledrvddtrddvudeine curfgrrhgrmhepmhgrihhlfhhrohhmpegtohhtrgessghrrggrphdrohhrghenucevlhhu shhtvghrufhiiigvpeej X-ME-Proxy: <xmx:Hm8NXO6wCn7dcF2qrG3BbXZgxWika1eUxrlZxz0UjeByQJeq3N_5Vg> <xmx:Hm8NXDAa0jvwnwkUwZ8sibANz9sK00QE3BwwgLeW3-SsO9Hc_1tbbw> <xmx:Hm8NXHx2sNcR6B0ltrofHr0KzTe6zQidLXNZYO2Ssvc0dAMXQpDqCw> <xmx:Hm8NXHvSrsGv8k_whyxG9KRcw2U5P3HMGEavKRc98s93NQfLDxgoyw> <xmx:Hm8NXG9Kg8laCKsQivIK2eBSd5ztl2-kDgdgPKG8mMqyaxpSFcPh8w> <xmx:Hm8NXPho4dj1cc_l4msHYx6j14ZCzNKoJO0ytNt86DVK47NGcTegkA> Received: from localhost (flamenco.cs.columbia.edu [128.59.20.216]) by mail.messagingengine.com (Postfix) with ESMTPA id 1F026102EE; Sun, 9 Dec 2018 14:38:06 -0500 (EST) From: "Emilio G. Cota" <cota@braap.org> To: qemu-devel@nongnu.org Date: Sun, 9 Dec 2018 14:37:40 -0500 Message-Id: <20181209193749.12277-30-cota@braap.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181209193749.12277-1-cota@braap.org> References: <20181209193749.12277-1-cota@braap.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 64.147.123.25 Subject: [Qemu-devel] [RFC v2 29/38] target/riscv: fetch code with translator_ld X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: Richard Henderson <richard.henderson@linaro.org>, =?utf-8?q?Alex_Benn?= =?utf-8?q?=C3=A9e?= <alex.bennee@linaro.org>, Pavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru> Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
Plugin support
|
expand
|
diff --git a/target/riscv/translate.c b/target/riscv/translate.c index 18d7b6d147..fa96f45a69 100644 --- a/target/riscv/translate.c +++ b/target/riscv/translate.c @@ -1848,7 +1848,7 @@ static void riscv_tr_translate_insn(DisasContextBase *dcbase, CPUState *cpu) DisasContext *ctx = container_of(dcbase, DisasContext, base); CPURISCVState *env = cpu->env_ptr; - ctx->opcode = cpu_ldl_code(env, ctx->base.pc_next); + ctx->opcode = translator_ldl(env, ctx->base.pc_next); decode_opc(env, ctx); ctx->base.pc_next = ctx->pc_succ_insn;
Signed-off-by: Emilio G. Cota <cota@braap.org> --- target/riscv/translate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)