From patchwork Thu Jun 2 11:58:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 578093 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:5806:0:0:0:0 with SMTP id j6csp468779max; Thu, 2 Jun 2022 05:00:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyI9Xix/fZT4tX7lHp22JrDn9f7/tnGTF1F2D2TmQd8mSR6hQLYuA3PGKHJogYfZ/htM5B4 X-Received: by 2002:a05:6214:2521:b0:464:4793:daf7 with SMTP id gg1-20020a056214252100b004644793daf7mr18678951qvb.115.1654171235995; Thu, 02 Jun 2022 05:00:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654171235; cv=none; d=google.com; s=arc-20160816; b=0fxAm7p9wDThjioXTY4MYk9tq8EGU6ncxc7sHzaXBOQ3+stVUkZCHLojufLmXs1wb1 sSmZxOdbWtzD5Geo0UAsQmomN57cO8NSlJz7P2UHDTHZePsWz4vPXHLAIRBcxFD5J+xn +yqLmhi66TwX1M5iNQoK+dr/aepiERLrqUgMa/8xt5y9l5XQCwtzayERhc9OH27dOeqZ gRBQ17PPH/u6LZKuzTQdviGKloEqfly5/i3klPaSGcnBaY6hGItZakNyui5uNLItuh39 kpFMn1k9HPHRPXP1a5wfu2nWQdiE15BBwew48YSq99GPUvBcgiHrEnNGXIL7Ervz6ycS kC5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to: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:cc:to :from; bh=LJ0TWCCI8kOLR9ZSea9wH/f8OauH/bKRYood5ZMbMJs=; b=FFr9FObEeQeiMpF7ZOmX/PrFQ4NC/gQRSqQkkRhimyg1eNJnZyk49P96YYNic8hwsD +BS9GbAbCrNURoDuTHvWRp4mwuNRl+avnNq+wh1xfEebO1Pln7tFv1zIcWJgNX+G+jky 9Bqos7Bu6878A1mO5seuZo+Q5KwlLvx7AJ3RZnLSJ88iwxtekKh9cXhBTwAq6anikHOe 7/No78qcmB5hv2zNAoVvyBFAWyRk0qfS/qh4zsengZ1MmPFn5sAUdXx9e4UllaQad1Tl fIjCVzXc7GkkK9CR2KrBvZChYc2l55K5zP7omZmWZJXpj5y5TuRXtOVXkt8NofnKIxSC 3QNQ== ARC-Authentication-Results: i=1; mx.google.com; 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" Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id t13-20020a05622a148d00b002f39f798a13si2145533qtx.721.2022.06.02.05.00.35 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 02 Jun 2022 05:00:35 -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; 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" Received: from localhost ([::1]:57618 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nwjVD-0000Uc-72 for patch@linaro.org; Thu, 02 Jun 2022 08:00:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46822) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nwjTQ-0000RU-GJ for qemu-devel@nongnu.org; Thu, 02 Jun 2022 07:58:44 -0400 Received: from mout.kundenserver.de ([212.227.17.13]:37629) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nwjTO-0001D4-BF for qemu-devel@nongnu.org; Thu, 02 Jun 2022 07:58:43 -0400 Received: from quad ([82.142.8.70]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.183]) with ESMTPSA (Nemesis) id 1M7JrG-1nrFpL3B8O-007ja8; Thu, 02 Jun 2022 13:58:39 +0200 From: Laurent Vivier To: qemu-devel@nongnu.org Cc: Laurent Vivier , Richard Henderson Subject: [PULL 01/19] target/m68k: Clear mach in m68k_cpu_disas_set_info Date: Thu, 2 Jun 2022 13:58:19 +0200 Message-Id: <20220602115837.2013918-2-laurent@vivier.eu> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220602115837.2013918-1-laurent@vivier.eu> References: <20220602115837.2013918-1-laurent@vivier.eu> MIME-Version: 1.0 X-Provags-ID: V03:K1:9YYpO0UbLK2qUfZGGPz8V4GgQwOo1/v8LOsqyH8cqeaa1MzHvS/ WZ1kIbBrmZJnqmdhluSQ5fF9H+RySHao9wAxqx9k0i/WegCUDVlANvVJLwCS3foRmVijiOT fgX1LZH30lrk1I7iYx16kzlEvE6f14j9pdcNmkyXmUUEu9gLA8PqGz8M9xbpQZAhrVVPDn3 ceBi3DmTRxXhyOh5k5Xyg== X-UI-Out-Filterresults: notjunk:1;V03:K0:mgufHukKBHQ=:H1SGxwLPYKSj2NwZgTRSYV ZCFsoIZdRMfk6DjgmQQ+YjXU0OF5PAfXZgyhStJeYnxR7Q6rbGrLQivgAY4tsVb86r0DZeFIJ AhTlxVm/gGPlSyBBBBEpLEUn6yW7dQRghtFbuOR5cDtRO3XLxyjEWcs2XwHQb8722+GulkcX9 cDFy91yGQ+N9GxsKozOaw6XYmh3twDJbsSaFWEUFbyPBxDZLUloKHgapqv6rQH1FNt754mCl0 /1rkzu5BnjgtVJgt1vuV8cXUy4gWu3V5cxmZSknAng5klq2ZT4QlFkoj6GUxeFHx/LMomzPzb /2VfO03inRr2jmf+9kspv8vnT8Uj1i28j7m4CE44Z/RsFXgnZhpRAcUn23NRL6wwQgy2kava3 kXPMjFvtPee8T+zNjSW6lPFfbwczX8nzXEWEBC/AmxYu3x4t+tx0GkvWlPAGJnYwYfPweymzO rNqRB4vB9jCTNp4ftgz0d6o0IiREv6NHuv739M7YxNzPLoEAodfnOlNjch36PXwXaYtOif4ru V6/LT5RrNd5VlxuSRxUY2yHBE5r9bu9uJOoKNYUDOb6jcdeiZfjAN5Y4g1KCMBe6IVzbDOgas b7m4xeEfBB/iWWVMwqNsWysDZoMyA5PIfmBiGA9++Cl9T01V13wRya84N8n40tgiFmYQc3Xfz N0ofX/esvZG773VFeVWFoPymo5OtjgidYdjSX0ySkwT76hS3Ofhzj9vdsJbCdm9cqqnwY3PvK 6u0IOMqTHZbg0B8iO87/0/kOZOw5rJex4cf65w== Received-SPF: none client-ip=212.227.17.13; envelope-from=laurent@vivier.eu; helo=mout.kundenserver.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Richard Henderson Zero selects all cpu features in disas/m68k.c, which is really what we want -- not limited to 68040. Signed-off-by: Richard Henderson Reviewed-by: Laurent Vivier Message-Id: <20220430170225.326447-2-richard.henderson@linaro.org> Signed-off-by: Laurent Vivier --- target/m68k/cpu.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/target/m68k/cpu.c b/target/m68k/cpu.c index c7aeb7da9c42..567106792377 100644 --- a/target/m68k/cpu.c +++ b/target/m68k/cpu.c @@ -75,12 +75,8 @@ static void m68k_cpu_reset(DeviceState *dev) static void m68k_cpu_disas_set_info(CPUState *s, disassemble_info *info) { - M68kCPU *cpu = M68K_CPU(s); - CPUM68KState *env = &cpu->env; info->print_insn = print_insn_m68k; - if (m68k_feature(env, M68K_FEATURE_M68000)) { - info->mach = bfd_mach_m68040; - } + info->mach = 0; } /* CPU models */