From patchwork Mon Oct 14 10:49:22 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: 176180 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp4379090ill; Mon, 14 Oct 2019 04:26:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqwe0kcMxo6LPz6ybc2cCMtx5ayvW8CvSMT5HoSHly8gA7GlZ605lSLeef0daDVW+3Sai79O X-Received: by 2002:ac8:1c49:: with SMTP id j9mr32639716qtk.364.1571052408012; Mon, 14 Oct 2019 04:26:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571052408; cv=none; d=google.com; s=arc-20160816; b=K0uO72k9iP+ZCDMTIKjd5DUPFaEeGSn15nqQDJmdtXrHISedC9t0eMK4Ar/pjF95QS NWM2i7TLC3Ueo/1Uj2QQFNEiOt/tpm1vUKCyGQ9360K63gpIZhiwjmyxG2yRu2UXGPVc NiA7x1FsKIEhmYsbvmK+2QeDnPnn3bq8La5BlKd2w4X/AAbo1SNi2W7Cxcw/xNewuZL+ epATXueqBaezYUpLGi9xnR6Ru7OvWQq3vs65d8XnRxIvPWMHatyf3krsC3X5NyoB0kLp 18TqUjUs2JX8AEu1OykW6SM+KgUR40IPGTXDJUkUMDJTjIQYEasiWLrmDL+Bvv/FMM8I vo4w== 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=xLFSa4w57TB2L7dDfU1OySLvcjk7v8MeCLcxQIOKNAo=; b=JIhO/vPqVCb00TmBae/M5nF3XztE5ivgCVRlj1niOV2yh5PluGE2C52VlvR5SRngPU I++mGKytpwAQWoKDNsPZ0i9QWoUjofGGnE7DtwifJulaEEfXjrnUa7bhbxZV4o2ZsPZM 59FOx4sRXBkuWCi4komqQmeueu+dvUsz65sVMW9M5DByDFsJtjhzdjzb0yXFNzpQlEtY lHK1uNqmpO8Sl3PACqc3CRlZZuEG4YHCypx3wMnn/W/FiDEPRX/jX6JNqZsIfkGvzaRe J0FouFCnteLAfdv3sVBRWOiJ6CzkfGuCG2WhFIhZdxFyQ5kHohrhXPi0bSgZlHo/ZFI0 1XHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=CT8C5r72; 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 k35si17183625qvc.18.2019.10.14.04.26.47 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 14 Oct 2019 04:26:48 -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=CT8C5r72; 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]:47720 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iJyUx-0004cg-4I for patch@linaro.org; Mon, 14 Oct 2019 07:26:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45533) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iJy2D-0006mC-RX for qemu-devel@nongnu.org; Mon, 14 Oct 2019 06:57:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iJy2C-0005EP-Sq for qemu-devel@nongnu.org; Mon, 14 Oct 2019 06:57:05 -0400 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]:44290) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iJy2B-0005B8-CX for qemu-devel@nongnu.org; Mon, 14 Oct 2019 06:57:03 -0400 Received: by mail-wr1-x441.google.com with SMTP id z9so19149137wrl.11 for ; Mon, 14 Oct 2019 03:57:02 -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=xLFSa4w57TB2L7dDfU1OySLvcjk7v8MeCLcxQIOKNAo=; b=CT8C5r725CT2KWfWLaMhgBz3CglamerMDXY79bsg6Cl9r2GSY6iJiXwQRlj1miX/Hb xlyqa32VoQpWwuROZaAe0pRmKoXiq6oeZPMlw1qM48IHXG/sN4KmOhwpGanhXRaWzfl1 Fq71inf8SqRXuhhCtFSKcvZNa9boXW7rvqGRIxn2G/jSe2qaPuvWmrVGSk7pvXMWqGhs gpB28C3q8vvcn5R+7cA5QNblv3ZMTkaF1gPQSRZeQQHZuAGc/olijzrtno3dm3TW8ocr +CmdfTrib0j4/k+6nudQIzGJnPcQbIE3WdMmjnru6wCCHNXlFw8kTPO8olvbXr+v6zu+ s/cA== 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=xLFSa4w57TB2L7dDfU1OySLvcjk7v8MeCLcxQIOKNAo=; b=O2A4pzj+7Cq/DsuFsAAbaejEbOb+VOkQGeQtOQCTBpT9oiWZFQ6rBW3xs5qBbdBLhj Eye/MNSiO0R0bADYSoy5bGOTWExPSr2F052YJsO1pk8roViI6MT0P1OYvIfabBJ3C/Qp WKwlXEQgF3TpfG+qMcxuxAFO+td+XxqGyamHmfUHbG58Sy5U4S3RGNo/lhfrnQ9k+v5W gDjaDZWvR16jilTdNR+PhQkzheMAPyG/1/zR6TGyn9NR7V+Lp2wwCuzy4zgPPltuhw4W zO+ugoK9ZXonIZaVdMSN8rYPbnhbpYWneHVaE+OiHqxeksl0WxFQ3h7IvMemUGZz2LP/ Y3vw== X-Gm-Message-State: APjAAAVZOCr8unCaj34JbKIL6Gewfqth9qChY0NC7hhmM9421ihcHtdw QajU22BtH1+DKJ8uosOs1Jdtmg== X-Received: by 2002:a5d:6384:: with SMTP id p4mr11123783wru.379.1571050621388; Mon, 14 Oct 2019 03:57:01 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id r20sm22819850wrg.61.2019.10.14.03.56.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Oct 2019 03:56:56 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id D86D31FFB5; Mon, 14 Oct 2019 11:49:55 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v5 29/55] target/m68k: fetch code with translator_ld Date: Mon, 14 Oct 2019 11:49:22 +0100 Message-Id: <20191014104948.4291-30-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191014104948.4291-1-alex.bennee@linaro.org> References: <20191014104948.4291-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::441 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 , Laurent Vivier , peter.puhov@futurewei.com, aaron@os.amperecomputing.com, cota@braap.org, =?utf-8?q?Alex_Benn?= =?utf-8?b?w6ll?= 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/m68k/translate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.20.1 diff --git a/target/m68k/translate.c b/target/m68k/translate.c index 24c1dd3408..fcdb7bc8e4 100644 --- a/target/m68k/translate.c +++ b/target/m68k/translate.c @@ -384,7 +384,7 @@ static TCGv gen_ldst(DisasContext *s, int opsize, TCGv addr, TCGv val, static inline uint16_t read_im16(CPUM68KState *env, DisasContext *s) { uint16_t im; - im = cpu_lduw_code(env, s->pc); + im = translator_lduw(env, s->pc); s->pc += 2; return im; }