From patchwork Wed Jul 31 16:07:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 170169 Delivered-To: patch@linaro.org Received: by 2002:a92:512:0:0:0:0:0 with SMTP id q18csp4230515ile; Wed, 31 Jul 2019 09:23:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqzRs9uaAzXrnXNvm+M/ppoICYO2SBHMJkPPW30+1VSlqlvRO6TFsrtXNX7d2kcNJQp4AUH4 X-Received: by 2002:a0c:aff8:: with SMTP id t53mr90070805qvc.47.1564590215704; Wed, 31 Jul 2019 09:23:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564590215; cv=none; d=google.com; s=arc-20160816; b=c2IklfiyMSbUQYfBF7yUvzS+1SP/f2wVzGgXJyViCBQlabYyjQwc3leKyto4QiCIKY /hAfYEZgE3lYYUzUXjFzskwgUsajOTfGBkYgTQtA3Abs/Xkdlj2rh3ZLdPaJHextYswd tPjrsKCb2DI4hbbPKq2NyzvcGbfqNVAa9ZhcnbzvqRsHUYL3Bf7kGsX+M9L5qVvgK8HJ wCLKRyJJQlONwypbbSwNWNj2Nfai7npZuxgxd0nC52foB5dmHhhG4TtpjXC3Ekq7vaBI YU6XbRS7R6QwxM/nYLlOMVCEUqDk79lfpTN15f9+Cn7kYs/8qS1xgwNCA/w8+kPy1/oa Q62Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature; bh=t7tqVUjAD2PfWwfma6adF8tsYdFtgp6/4kEZrCKl67k=; b=PvpVQF5tpHkSej5W8XVft47JzY/kry43ok0jMpmvSrZyQ3Z6EdeytLdLZMUJnTjptQ kXrnK41DsQMZLDWjLy3HUxWG1EazKcXuvvxNpd7VRHmRYMlOzZy4/z9Hu7SweoGvoAR+ KktyyWwU9G7jJgMAL3xRKIpVUBu11q57bGnSNY9PGk2w7nDUYG8co3PkJ4IIFLNaLfFe 3EN19KrJLtH1erksJEwrD7DRvg+gwWBFhOxJFNaH83tSkxbWgpsG4LdHO/waRrJTzP67 /dayiPpa1QhaRIIwTbB8TirGhhG72BDKsYW7q9RcClvrC/8ZJgfb9Shu5beMkkor8R48 vi2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=VDb83tAn; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id d25si36373858qkl.282.2019.07.31.09.23.35 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 31 Jul 2019 09:23:35 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=VDb83tAn; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:42582 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hsrO3-00081f-9B for patch@linaro.org; Wed, 31 Jul 2019 12:23:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42515) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hsrGB-00069h-8X for qemu-devel@nongnu.org; Wed, 31 Jul 2019 12:15:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hsrGA-0004DS-3b for qemu-devel@nongnu.org; Wed, 31 Jul 2019 12:15:27 -0400 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]:43029) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hsrG9-0004Cs-SH for qemu-devel@nongnu.org; Wed, 31 Jul 2019 12:15:26 -0400 Received: by mail-wr1-x442.google.com with SMTP id p13so70305874wru.10 for ; Wed, 31 Jul 2019 09:15:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=t7tqVUjAD2PfWwfma6adF8tsYdFtgp6/4kEZrCKl67k=; b=VDb83tAnPSPUoNZ8WUGqv2g/foqveCWQxQOwIurq3poRKLQv5WtJhrbnwovRuAjd7N ysBBJlu79JPB/fcPjHEvsxXNRoY+F/mAmLSHOGI3PbX4ZEtwJN1bLXlvMIzBJr7had+Z Pd0mheFbqz+LKZnlZX9/2AEC116E8VzPBhGta4t4PDoDM7YiPORjjicYU1/o0Z779XL6 Btnaa8/7nO+Y8/bkPf8YvsQRqZ0Ropu7zuJUp1wbCHhL+0NJwTNt84XeEH3+416WuyHw KH93OytR58v37uPJMMvvQcRxq5JdG7wr5KuqGXZrRZ9B9Ryd0JuMPaC8Tt5/DV/rbglL qLhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=t7tqVUjAD2PfWwfma6adF8tsYdFtgp6/4kEZrCKl67k=; b=JPOVxwbtFtnC4oMJNUYTjVywuU/JyDvStP+rNpJXQtvXkUAxzYWrvHCbtP4f7NFrNf G+FvAzNPaSp5Quxpi4dikohJ++i2aEoAAg7fKhlzwEEyN0ucZ2dAelpNIFcSEVBllu11 jgvOtYPiqaYzq8rbkLG5a+ZmOBm+vDVlO+TGa2DnEeXoSc9Y/ToHD5/V8ac6FoHItzmL Q4P+GfW5YnYTAFXxYkIz7ODJZLnMM4DZaPwTTTJX0hGdxC1oX271R6FLj7kdclvXo3zm bOW4SccP29MP69ziGwNJzuxydGIPkpLJJb1X7HzbrIFQNL5+JFhaVg1z+nlb8DwRRFo4 iraQ== X-Gm-Message-State: APjAAAU6JlBgDZC1roX3JO35vb24lVOpd+B0823OHY4Y8UZEJKsgZF65 K7R3hf6HhSq43JUWmEGS4juN4g== X-Received: by 2002:adf:afe7:: with SMTP id y39mr131632998wrd.350.1564589724833; Wed, 31 Jul 2019 09:15:24 -0700 (PDT) Received: from zen.linaroharston ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id g8sm68961022wmf.17.2019.07.31.09.15.17 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 31 Jul 2019 09:15:22 -0700 (PDT) Received: from zen.linaroharston. (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 48ACA1FFBF; Wed, 31 Jul 2019 17:07:23 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Date: Wed, 31 Jul 2019 17:07:06 +0100 Message-Id: <20190731160719.11396-42-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190731160719.11396-1-alex.bennee@linaro.org> References: <20190731160719.11396-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::442 Subject: [Qemu-devel] [PATCH v4 41/54] target/openrisc: fetch code with translator_ld X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Richard Henderson , aaron@os.amperecomputing.com, cota@braap.org, Stafford Horne , =?utf-8?q?Alex_Benn=C3=A9e?= , bobby.prani@gmail.com Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: "Emilio G. Cota" Signed-off-by: Emilio G. Cota Reviewed-by: Richard Henderson Signed-off-by: Alex Bennée --- target/openrisc/translate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.20.1 diff --git a/target/openrisc/translate.c b/target/openrisc/translate.c index 4360ce40452..7df4c68d158 100644 --- a/target/openrisc/translate.c +++ b/target/openrisc/translate.c @@ -1305,7 +1305,7 @@ static void openrisc_tr_translate_insn(DisasContextBase *dcbase, CPUState *cs) { DisasContext *dc = container_of(dcbase, DisasContext, base); OpenRISCCPU *cpu = OPENRISC_CPU(cs); - uint32_t insn = cpu_ldl_code(&cpu->env, dc->base.pc_next); + uint32_t insn = translator_ldl(&cpu->env, dc->base.pc_next); if (!decode(dc, insn)) { gen_illegal_exception(dc);