From patchwork Fri Oct 25 06:36:48 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: 177689 Delivered-To: patch@linaro.org Received: by 2002:a92:409a:0:0:0:0:0 with SMTP id d26csp3294524ill; Fri, 25 Oct 2019 00:42:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqyejn1kSv6ycl1hLpOxz0EITV0o8R8Pj58fd3TrvMHN/m4bUU60uomPPdmwSrYZeSoZqch8 X-Received: by 2002:a05:620a:1358:: with SMTP id c24mr1672039qkl.236.1571989359067; Fri, 25 Oct 2019 00:42:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571989359; cv=none; d=google.com; s=arc-20160816; b=hQxCK8MqlLTCUKonlWmjUEmi8eflvCroQakUUy+XadDifWOtE7mST/PLN6zYTG59Kt HUCcWYc124ANzT4Q8fC3alCaO17MQABV8hThGmtI4rFktPQbtJL2hWktXUAxm3pO6sZP WG125Gha6lFfxRvBQQroLLJ0Q6Y1qMU5L4RaG40AF4d6A37eGAIHWwBATDA9G8M5gb56 HzbdOG3aA6l5l9Sbbmigg+QaHquhwArauRJNbp7abV3Gb62gNP/nNC9/Vmk+x1yn3dz6 OyxW0SCN5jGKDMKNij291pjhhZuGpNZ6obJRgRANgeinKa8RUn6dsrmuRZ4YdjyHLOm2 J73A== 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:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=zsxj+Te98ElygZXLVw1dEmLIe6iHMU9Zd9rL8Doapxo=; b=PxB/KZ0ThWx86olzYxLr1HdeZLKbe2OfUho5Nj/SRxeJSLyWRKHNXI6bCVVFtWxYvj JDFINWwc+fPtDSkQRLSMeuTgNa2ymy3d60CiJopUpQDwn91MVC9HTY0O0B4dq76nuPDZ 3cJenspcgsiDloeCW6gofaD29jli4nA30qUYuMw4/xzaqhddd94ywflIJUD2GGgbJh0/ txiwY8vUsgVUuin4pVwfkECgCYPBAWSo7RK6pncQs/mzI74TS/QXLbJ+mSr2qMNcwg5A csNl90aY+eGa2hY9yl8INHXSmqClSnEOElyvibYj7L2mZSqJjojt408SyqI1KqHrKGi+ l3eg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=O5G0nWpj; 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 2si741563qte.346.2019.10.25.00.42.39 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 25 Oct 2019 00:42:39 -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=O5G0nWpj; 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]:57032 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iNuF3-0007QA-Ip for patch@linaro.org; Fri, 25 Oct 2019 03:42:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38247) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iNtWc-0003Un-GS for qemu-devel@nongnu.org; Fri, 25 Oct 2019 02:56:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iNtWb-0007mM-CT for qemu-devel@nongnu.org; Fri, 25 Oct 2019 02:56:42 -0400 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]:41132) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iNtWb-0007lr-6c for qemu-devel@nongnu.org; Fri, 25 Oct 2019 02:56:41 -0400 Received: by mail-wr1-x42e.google.com with SMTP id p4so953268wrm.8 for ; Thu, 24 Oct 2019 23:56:41 -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=zsxj+Te98ElygZXLVw1dEmLIe6iHMU9Zd9rL8Doapxo=; b=O5G0nWpjZR6s8YZg/7unvZdkCQNFgRBttQc8gGuTZyDWSFEzPI5D2ls0A1zNJLFUUb bQpEcnsmyCiUs0E+NHd90vvW/ZvpMncSxX+yfRvpv31WuZw6wCee5zXjQ8taPh62Ufe2 z2aFu8Vp7j007jy4TA1dRj3DgFr7HcKYUDG85zZriK0LUuhYdyYiSdc2cENH4MiJ0UcZ geJS6ZPFi79+ZYB23jkE3/RPZ0HG9Z4g8JYP/SlwPiWKRDToddZeAu5pa208KdAtr+k1 vYXZNj6Uu4NoyE+GKv2ICTWgnkMPCvazeeE/mYY2aiTRQKqfqxDXd7CmE6Xss2VEGgwU Aeow== 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=zsxj+Te98ElygZXLVw1dEmLIe6iHMU9Zd9rL8Doapxo=; b=PP1lvrrWUyG/c1qa5PqRgpFWPX+Tyujp98/uVv3XL4xgaVd6qDiqM0sJnapdh8rA1C cs06dobIwo5r9P0WiDqyccVNzro50A2lH/uSoOrakG3YmoLlbGl5SSHwGNXsA/Q7Jk2y UYyfcFZ/Gb8eiCNvimgTVojiP1PrJkUKpYtTPGmeK9+ki33/NgAgn9TyFI6u1zP6xfq3 lo1vQkQX4Mwl6P1TnOcj1QDdzGXoSbb7ha+6oRyH35A77uHDhzyU6cFj8tXbyXDluQjR AOeriag8HzuHbsQvc3CRcdNGlhpghgS4Bwt/igVq1GqyRBzUXkncpZz8YbhmBmZRBajt SiUg== X-Gm-Message-State: APjAAAX68QOkkBAwsscQN5PFbhtrPrt9S58tkL/8VDO/K38OtXVtBIQ6 cAcme76yLEfIlcl2luDkkc4rdA== X-Received: by 2002:adf:ee03:: with SMTP id y3mr1343060wrn.116.1571986600154; Thu, 24 Oct 2019 23:56:40 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id g14sm1238663wro.33.2019.10.24.23.56.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Oct 2019 23:56:36 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 43C571FFC8; Fri, 25 Oct 2019 07:37:18 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org Subject: [PULL v2 48/73] target/sparc: fetch code with translator_ld Date: Fri, 25 Oct 2019 07:36:48 +0100 Message-Id: <20191025063713.23374-49-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191025063713.23374-1-alex.bennee@linaro.org> References: <20191025063713.23374-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::42e 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 , Mark Cave-Ayland , qemu-devel@nongnu.org, "Emilio G. Cota" , =?utf-8?q?Alex_Benn=C3=A9e?= , Artyom Tarasenko 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 -- 2.20.1 diff --git a/target/sparc/translate.c b/target/sparc/translate.c index c68bf4a2e41..edc23a7c403 100644 --- a/target/sparc/translate.c +++ b/target/sparc/translate.c @@ -5884,7 +5884,7 @@ static void sparc_tr_translate_insn(DisasContextBase *dcbase, CPUState *cs) CPUSPARCState *env = cs->env_ptr; unsigned int insn; - insn = cpu_ldl_code(env, dc->pc); + insn = translator_ldl(env, dc->pc); dc->base.pc_next += 4; disas_sparc_insn(dc, insn);