From patchwork Thu Oct 17 13:15:50 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: 176639 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp961809ill; Thu, 17 Oct 2019 06:55:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqzGVwU4SQEKQNrm/as1X1Eg6idgT+p+BBOAwwyN+tgEyJRrZMllO8AkCuT7VAq+iD4xqxps X-Received: by 2002:a37:5d06:: with SMTP id r6mr3377384qkb.16.1571320504816; Thu, 17 Oct 2019 06:55:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571320504; cv=none; d=google.com; s=arc-20160816; b=EZc+8wJopSqfjS4cGmW4cOVFJfikEb1dffXgVmEnMqvW7WFh2CxoF/NlJdpPIIsYq9 E/0WzOdU/rOGX1s8aH8sjYbeBYuMIuX7S1mNVICgJQkkubrOGBLi0H/ZZcyiGuvhrERQ 7u2N+oxBj5+xuKYO0fmTkzcmazEa1u9H0DX/LYtWgypknFYXfA7qo0fjSSHKF/A39wDa EeTESYLLH4BXwstX6GFl2W8VSpco0LNWUXc1TSt3YrmpJCmZkJzvxYzoTD8ucdvFJaaN in/3Y9PdTGfFZWa5O922V0xSxMhGDcEmYG9cXUH3Ehd9JSnM6xd76qPbmXqeluL8/DxP X5/g== 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=mpf3Fhzk3B9PbwCFqYApvOLgEupxrJceH9hSjq15/sI=; b=Yx95eb6JYKecj7Fo8AZN73E7P8mUzHx9oz2hEf4VJeBWYzA8M9TSPy+qrt5oMtVrT9 3wo3UY12A55flN9Zo7LCJM3IG3LiDWttK6R4/Y08inNKEDBRnjO2RK7Fnfm44Q1uR48n KqN7RhVK1+05nPUsCizllLJ16ILr00XyF4KBqnx13xpIfxmcpeQRTQk2B8gYPQQuh+tp 8uxZwR/FG4kaCUxVyta8vt9CU0ndUliJ/745A39Xo3hsXUk6j7VoXpQrRt/QQGk6N+qN QiFbbkW79rfvRdeFwa6lTPTgcp/dnhzG5RcFl/gvu6pkncAqXJTyIg7GEpR569BJn25H 1IRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=da4H6VrM; 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 42si2099780qtc.145.2019.10.17.06.55.04 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 17 Oct 2019 06:55:04 -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=da4H6VrM; 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]:48494 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iL6F6-0003oo-6p for patch@linaro.org; Thu, 17 Oct 2019 09:55:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35485) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iL5mR-0002BS-HD for qemu-devel@nongnu.org; Thu, 17 Oct 2019 09:25:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iL5mQ-0001Fx-HD for qemu-devel@nongnu.org; Thu, 17 Oct 2019 09:25:27 -0400 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]:50786) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iL5mQ-0001FW-AO for qemu-devel@nongnu.org; Thu, 17 Oct 2019 09:25:26 -0400 Received: by mail-wm1-x341.google.com with SMTP id 5so2580612wmg.0 for ; Thu, 17 Oct 2019 06:25:26 -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=mpf3Fhzk3B9PbwCFqYApvOLgEupxrJceH9hSjq15/sI=; b=da4H6VrM+xN7VjkwNt7QKqDGy9JU8gzWON4QiqnPqBOJo+PscTol7hjA6i31qgLbg5 lNiPqnvb6EtsjBx3IV3sWnUC06IG4UcmdtxZYJv1Xm9mZvqY6EEOYim7X6jmKBTdovbR cvqxiv/dc+ajU5+VBHDwAdzjk04MFiwJqLCP51b4R5CZNTrmM38/HYdypQbqSaIdiFbe e5ZQOTpD5ix8Yprkj0m2InHw1VrSvUcZiYtyEiNqBkd7ZXvuwP4cCTuAuTGB02AgqNwG +7tB9uPJ6eF7FErNQ6RAgcQvaJR1spkUYlncmx8SHn2ejhky8RISISfsj+sI8zEwGYMY vwvg== 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=mpf3Fhzk3B9PbwCFqYApvOLgEupxrJceH9hSjq15/sI=; b=brKgvl1ytGV3XHmLTjePVUfQqWUM058Nx32ZN2gY2XWmvxdtwLfkP0QjyCkdgpKj0G 2G4RdXqnh5Xr8IOuWN3E5lWJs6jmUSSEMxmfX6U0Ur34mg+qPctOfUnvFuhVgY96dJq/ Dt3ToO6G4YM4XcGEHuk3ahVahzo3f+tv3PareWlQ27p6LW9KFSiQV0AuYZ3ceWfCDRlD irBcSCIlkK1O9eQQvRbKULYVPdaES+1gu4rTp7uGRgR0Iak3gyROj/oITjyv9jwOGdXL i4qf/Pt3c/sowCdsebvOq5WrJrNHEx1BirMKP9aLfmOX7EdCjuOeIgmEKjAeBiEp+nHF J7gg== X-Gm-Message-State: APjAAAWdCwhrugqOuq+9j/zgvLGmDp4ecnGXdjKsbeLerU8fPNwlm7Sj JjNPu48uLC/65AL56Ffq8DbMTA== X-Received: by 2002:a1c:2e4c:: with SMTP id u73mr2825847wmu.94.1571318725134; Thu, 17 Oct 2019 06:25:25 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id a9sm2964667wmf.14.2019.10.17.06.25.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Oct 2019 06:25:22 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 9DEC51FFB3; Thu, 17 Oct 2019 14:16:18 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v6 29/54] target/alpha: fetch code with translator_ld Date: Thu, 17 Oct 2019 14:15:50 +0100 Message-Id: <20191017131615.19660-30-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191017131615.19660-1-alex.bennee@linaro.org> References: <20191017131615.19660-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::341 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: robert.foley@futurewei.com, Richard Henderson , peter.puhov@futurewei.com, aaron@os.amperecomputing.com, cota@braap.org, =?utf-8?q?Alex_Benn?= =?utf-8?b?w6ll?= , 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 --- target/alpha/translate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.20.1 diff --git a/target/alpha/translate.c b/target/alpha/translate.c index a69f58bf65..f7f1ed0f41 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);