From patchwork Fri Oct 25 06:36:45 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: 177684 Delivered-To: patch@linaro.org Received: by 2002:a92:409a:0:0:0:0:0 with SMTP id d26csp3290129ill; Fri, 25 Oct 2019 00:38:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqwva72aPm5PhP9AYmeH5D2CQHmEXQOZlp41Quhduwh4BJOJGvcaIb9hPqWQNL6CETW8NrPA X-Received: by 2002:ac8:378d:: with SMTP id d13mr1703716qtc.69.1571989092332; Fri, 25 Oct 2019 00:38:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571989092; cv=none; d=google.com; s=arc-20160816; b=biyjOfgSOwNRIpshA3tqXo60WuCODfyRUY6MuZx8jWRZTLOfUhSJWHpJZBPLrAYYk8 ZNuIkOXCfQimpPJTt+dA/IR/gIw7HIsFZeYwuZFovsG5DM++wrGsmHzv16Sz6jD0sXdp uzG02r9rEScVHe36qy/kx7BtC4yS41f+t68XvOgRn5aZixc7+d8S8jXd7KPGrhNMchi6 3OnAr9tnnOgbzU4nmfwS3d2W9uJ6naLLcPtydg/gTxlrmcaTgatoeQuHkYCvFkdXqnN6 /bbrTc5DqvEpzCxFEbpvzYB09rUanHGJDzc8bRMF64zhaW858licfHfaM8itxgDD+LbM ODXQ== 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=T2JS5tpytl0ipi63acoLVuF4tI9OGVeaa1yG5nPh+p8=; b=NWkpwrrMBsE9BdD2+MJfaZDni2VMAgaxEMnCW+byvfvr6BFQcmKCEDNGc9UO6yZJYa wH6OcQJDqu5zkMBg+qHZm+W0JWtsCl6rTgo2y4+i1wj3ADuz1tt6UEgBesZc3rZmq7li YwTsEcUAkpxuHxWnhWknsVy7pbUAlMKJxRa81tPs4f4x00ySrQJGmsr6tyK+Amxgyi7w RhXYPrPjGKrVp85A3jpqYAxpXYCz/RaTY8nH3vKNIHWj1gBsNzZBG8s8pIDPjK2xe/zM AMffZpiS/sYECOvXdRXEqsuAEifGJ1RMYoCprgs5s070hQ8Rx7N8fyDGueTD7llRfhE7 nNjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=g+2HT04w; 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 m5si763460qtb.134.2019.10.25.00.38.12 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 25 Oct 2019 00:38:12 -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=g+2HT04w; 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]:56958 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iNuAl-0002O9-NL for patch@linaro.org; Fri, 25 Oct 2019 03:38:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38212) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iNtWa-0003PU-9B for qemu-devel@nongnu.org; Fri, 25 Oct 2019 02:56:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iNtWZ-0007iL-90 for qemu-devel@nongnu.org; Fri, 25 Oct 2019 02:56:40 -0400 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]:37036) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iNtWZ-0007fJ-2j for qemu-devel@nongnu.org; Fri, 25 Oct 2019 02:56:39 -0400 Received: by mail-wm1-x32e.google.com with SMTP id q130so808311wme.2 for ; Thu, 24 Oct 2019 23:56:39 -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=T2JS5tpytl0ipi63acoLVuF4tI9OGVeaa1yG5nPh+p8=; b=g+2HT04wtDnVWJWN3ti1IWJObmTzDbVFpunoVejBtF2unoTBiVvJGcLv+QZ6mu9HJl CDCP7HB9U0sgUYnClrtOZtM0bJU7UqSDWIDJEErzdjYkoBv6V7t5JQZYFf3KP/V0C8Hl h69CgheTLA3NZFAxqMMcm+xValOePtkUjrRv3hCf5xgszJUiX+VL4WOwgvLBipo2IZEc RlZt41GUP8SSP8gC0lNRmrakDijFsIP2PmHRg/X7cvvlS17EeI/3pnUDjNs42Q0N4Qc6 d/jbo8OQbVF5oEGK3BP/Kv/KgS7lO3UyWY7DOdSH4nHUSnkHwATVvdp/Q7ShLwjGFH5t pVtA== 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=T2JS5tpytl0ipi63acoLVuF4tI9OGVeaa1yG5nPh+p8=; b=pX95sXjPwY3/a92cIAC+6dpnzMx8lOQt8fA7Md3n/z00Dis0UTuQBvTO5JK4bbT1B7 8+2D40DsYU06h5p3yNMQ4GTnTCs9+gGZzVoVByZwrQOW0tqLG6SLaUT9nmPzt/q9Mp59 t0QvIfHIDg+iPcyqewnFjMUih1MZR9JiVIkUmp2ifjLeVJ6i5QHI/BwYWQbsEVq9PZQf PKQgnkDK0Y7O6sRWtq7Gtnk8SJfHKUTV3kIP3A1pqwcT71vgv9gxKfkAdaaNw8nmXRey J+s5CCNV3T4EAZi/uAldt2EexJsXsdANQ5uIz/wGOEZ+nfdlAQ0ziuMCaYKITgKjxqqL Dymg== X-Gm-Message-State: APjAAAVYB9995A8ymOjEIwnRFOv+hN0YJc4SZdObG6D+deWjju1x5TTt lTgD+zh/5F9zp57FSgo35akdAw== X-Received: by 2002:a1c:e154:: with SMTP id y81mr1923565wmg.126.1571986598038; Thu, 24 Oct 2019 23:56:38 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id q18sm1034542wmk.39.2019.10.24.23.56.34 (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 050211FFC5; 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 45/73] target/m68k: fetch code with translator_ld Date: Fri, 25 Oct 2019 07:36:45 +0100 Message-Id: <20191025063713.23374-46-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::32e 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, Laurent Vivier 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/m68k/translate.c b/target/m68k/translate.c index 24c1dd3408a..fcdb7bc8e4e 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; }