From patchwork Fri Oct 25 06:36:46 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: 177683 Delivered-To: patch@linaro.org Received: by 2002:a92:409a:0:0:0:0:0 with SMTP id d26csp3289885ill; Fri, 25 Oct 2019 00:37:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqwkURtW6s+/eSEvxHJKobENUv8WFScXJvn81qCVFXq7RxCvHK/bOCwcaNjTm3Cmn9KrAJGI X-Received: by 2002:a37:4817:: with SMTP id v23mr1643588qka.264.1571989075514; Fri, 25 Oct 2019 00:37:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571989075; cv=none; d=google.com; s=arc-20160816; b=GU27laC7/uOmVHcb4AqgQRKvEyMe6i4Qa/bu/un/LX6qbEeMK7d9LWNSEAxRHAqphs ndMwT4SUtZt9iJwVrz8llzB+koaAw7qyOsjEvdNzoIDbOxSpQQruna09zjWt14+q0Nap m87RRclkZgng75V90LvnB6o3OaYiN38o8qErwAGWlt534+RA53/0Hrxv89ZaRTtkDGT/ ZIYqYTFzFqivsBZKT412JeurptirDEjWz3C7QGMCHNhLLkfzQMMvdsAkkLDXPo8Vs3Pj lJSLfc+77uGivWSNuEUBiuYPVkLyXS2FIhqHHRo8II68TWvxB8Ran3bpKllJM4ZDNo8P Z7yw== 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=v2mAjqtuZOYE0ZtUDVZuiSZ00TgB6ibRdPm0eNtlQKI=; b=faAMng10/SMXs2A5pTQvrXM2QvbeeP+Csc69CN9IHsxArqBKPxsYUCNKpKKZ9pfUrh 090AM1Dq/HMsi1pI0eC9K0XzdrccbdVFkb19I5cMBG4WTFTandNNRECs61K1g808YVUD HYkHIVVOASDpOB7F8BNwlYEwX9ZAPqw0/JH1ijgK5Mc5PveMyW9vCIXQqd00uoWDFX5u bikX2wdCBmce7Zk5cJHoQQJeKZ2gcQqwguSt2Gx47YLQe2HHGhzQjIUHLj0i5+46n6ts NUBNqgt6SNlKdgKDgUW0sU2zjAl1gtZ/zWCVWqfaQGgo5jr16vhE1X8rI3IOMzr7i4+t m4HQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=F6+wjd6M; 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 f61si748793qtd.221.2019.10.25.00.37.55 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 25 Oct 2019 00:37:55 -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=F6+wjd6M; 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]:56954 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iNuAU-000295-Rz for patch@linaro.org; Fri, 25 Oct 2019 03:37:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38179) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iNtWY-0003Km-KO for qemu-devel@nongnu.org; Fri, 25 Oct 2019 02:56:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iNtWX-0007e8-AI for qemu-devel@nongnu.org; Fri, 25 Oct 2019 02:56:38 -0400 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]:39837) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iNtWX-0007dO-4c for qemu-devel@nongnu.org; Fri, 25 Oct 2019 02:56:37 -0400 Received: by mail-wm1-x333.google.com with SMTP id r141so800628wme.4 for ; Thu, 24 Oct 2019 23:56:37 -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=v2mAjqtuZOYE0ZtUDVZuiSZ00TgB6ibRdPm0eNtlQKI=; b=F6+wjd6MKAEFZdSJYbNPD9WS7D5r5oehojabF04cobSgTdb9eui3COyquhRFU8pZYL +0NxyRln6SYT31eN7hXYhdRnm7LFjtOsPNGGqtchjefnnVmxRqIRs8EqHoteCWx8teeM HV1INgZxJ66aSG7Wi/ikV4FTquufgCxW7xPuswZgQPGU/lNFyMDxj2fhhCx/KozuykBZ X1MsmrBfbWvfkull6RVw+bUtpRTkUg3/MlU24LcxHKMzorWQLXHVqI3HIXdj6sjdMC1R ZAHX1WHdL6Ueb8DtD8ys2stjbBSaSXASlbo9rEQ5iTELhz3ogZ7S421gNJOn2LAZpQQc 3eUQ== 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=v2mAjqtuZOYE0ZtUDVZuiSZ00TgB6ibRdPm0eNtlQKI=; b=JqrsKzyCHifZT65w8q2B+5jJew0FWm6AGnPIAh+vj8TsTVSoCsgrBN5w9acSKolF4W P0WsjCucrW5JuabviTPakwj2AQexxXp/T5rjhEahnzRDRJGRDMZQEabWYgP8Mrk4i9br d2n1ic01MplA5chZFMIdIrjMdNrWSG1/iQ7pdl1WuC+fHrqVVla03TyHQQl5YLJBsz6T XA5C5hJFW9hlxPt33cr1ttQNuUB40AzaO6R/S9tSz72y3DYVHij1HmRJVtF//auedSHv th/5yxZ/OM3mYDkNqK8txDpibJjhhJCnCpdGS+yMo03NnhSXD37mbI4LWi/YTCS7o/SG +aLw== X-Gm-Message-State: APjAAAWqpBDzWQQIJpwqf2xhqC3oSoZ2uJvtPrJCb1XLNqgXV62vyBMz MSNu3FSy2QKfTiadc/SJHaREmQ== X-Received: by 2002:a05:600c:2295:: with SMTP id 21mr1858740wmf.63.1571986595349; Thu, 24 Oct 2019 23:56:35 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id q6sm1250675wrx.30.2019.10.24.23.56.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Oct 2019 23:56:33 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 1B2971FFC6; 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 46/73] target/alpha: fetch code with translator_ld Date: Fri, 25 Oct 2019 07:36:46 +0100 Message-Id: <20191025063713.23374-47-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::333 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: =?utf-8?q?Alex_Benn=C3=A9e?= , "Emilio G. Cota" , Richard Henderson , qemu-devel@nongnu.org, Richard Henderson 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/alpha/translate.c b/target/alpha/translate.c index a69f58bf658..f7f1ed0f411 100644 --- a/target/alpha/translate.c +++ b/target/alpha/translate.c @@ -2987,7 +2987,7 @@ static void alpha_tr_translate_insn(DisasContextBase *dcbase, CPUState *cpu) { DisasContext *ctx = container_of(dcbase, DisasContext, base); CPUAlphaState *env = cpu->env_ptr; - uint32_t insn = cpu_ldl_code(env, ctx->base.pc_next); + uint32_t insn = translator_ldl(env, ctx->base.pc_next); ctx->base.pc_next += 4; ctx->base.is_jmp = translate_one(ctx, insn);