From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 08B2DCF8840 for ; Fri, 4 Oct 2024 16:42:11 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1swlNW-0002de-8K; Fri, 04 Oct 2024 12:42:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1swlND-00029b-UJ for qemu-devel@nongnu.org; Fri, 04 Oct 2024 12:41:48 -0400 Received: from mail-lf1-x130.google.com ([2a00:1450:4864:20::130]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1swlNB-0007D3-Tm for qemu-devel@nongnu.org; Fri, 04 Oct 2024 12:41:47 -0400 Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-53988c54ec8so2788604e87.0 for ; Fri, 04 Oct 2024 09:41:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1728060103; x=1728664903; darn=nongnu.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=kB3ZtAz3XEwZvlOLzS/NbhoRCoAtuz8HX62gKHoEQpw=; b=M0icU7F2VuYiSj9KTnn3A2f3rSQYFyvWoiCry9pxvmtiLZfWF63eOGxA2biM4WuPRK VQSKlu87Ckpaln0GY3H9ymol/p2J9gRpgabD2EC5UemYNnR3r2m2biCDolFNl+ROBuV4 mQ2dJvPjFkyKREBf6KgaXh21X4hrWOUi0Ihr7aqjLvVC+Kpv3AZAhSlbAZbNTL713RF7 srjk3BggUOVHJs3U64NAE3xZ7m38YyMsqBT/BiFlMudSf6DKksZt3sn+RA0L/I5IZgB9 89N1eNA7BaTabvSZHN1tDtfSO2lCBzWvhsG7M9IYb90z1U4dVbV3w9WqCCOjTKVoygux O5rA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728060103; x=1728664903; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=kB3ZtAz3XEwZvlOLzS/NbhoRCoAtuz8HX62gKHoEQpw=; b=RXohVCQWzVX4feWpT4GHFEhXesjpj7SWVBHZOuyEXoEWdE8pLWxZch2gKQQypCOHks pahRYM7KbtcoiU8vAd7pX4cCeKtV4BD+uSGvsceIAVjigSF+MWpQV+GOmNHMKwMlxO8i AMwHQPbr3NNPCAPXQ+lGTV/mVN8EWRf67fEby3as7fQVFzVdcpH7tzs564YWkjvqo5lO w7nDXNnfS+Vb2uUXXvYVfs4YW+A7enRVuXmCNcflWb/xuKf6GHwwSN8ZcBlbWYuFTzh7 /osG0QsOVn47AlXnxIzuh2WFkH3NGHs1vDBxgLZOfKsU1qxlWnuVZXAEFaBvySnCwZtV ji/A== X-Gm-Message-State: AOJu0Yyl3OhG7/FTximFlu0ot8W8Cf9UBTUd4Pq2nls0FLSkKQpLF1hf 3GtrZFn1PZrtO8Tqdvjxj3IHZ+k+16zGS00GVl3L/S1gMPK6EEU8oCUwXysI+4RZNzReexRFvJj 2xr0BvA== X-Google-Smtp-Source: AGHT+IHTzZyLnKKAduJSs3wJNzJl6SJnKRygY12UTU4C/h9iSNFiY0vz+TFehs7M6+JHAZ/+ng36WQ== X-Received: by 2002:a05:6512:318e:b0:536:7cfb:6998 with SMTP id 2adb3069b0e04-539ab89e01bmr2604563e87.35.1728060102940; Fri, 04 Oct 2024 09:41:42 -0700 (PDT) Received: from [192.168.132.175] ([91.223.100.150]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-539aff1d12esm2651e87.175.2024.10.04.09.41.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 04 Oct 2024 09:41:41 -0700 (PDT) Message-ID: <7d0b35a9-52c4-4ec9-878d-06c1f54c599a@linaro.org> Date: Fri, 4 Oct 2024 13:41:34 -0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 18/25] target/m68k: Use explicit big-endian LD/ST API To: qemu-devel@nongnu.org Cc: qemu-riscv@nongnu.org, qemu-s390x@nongnu.org, Thomas Huth , Richard Henderson , Pierrick Bouvier , qemu-ppc@nongnu.org References: <20241004163042.85922-1-philmd@linaro.org> <20241004163042.85922-19-philmd@linaro.org> Content-Language: en-US From: =?UTF-8?Q?Philippe_Mathieu-Daud=C3=A9?= In-Reply-To: <20241004163042.85922-19-philmd@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::130; envelope-from=philmd@linaro.org; helo=mail-lf1-x130.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable 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+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org On 4/10/24 18:30, Philippe Mathieu-Daudé wrote: > The M68K architecture uses big endianness. Directly use > the big-endian LD/ST API. > > Mechanical change using: > > $ end=be; \ > for acc in uw w l q tul; do \ > sed -i -e "s/ld${acc}_p(/ld${acc}_${end}_p(/" \ > -e "s/st${acc}_p(/st${acc}_${end}_p(/" \ > $(git grep -wlE '(ld|st)t?u?[wlq]_p' target/m68k/); \ > done > > Signed-off-by: Philippe Mathieu-Daudé Per v1: Reviewed-by: Thomas Huth > --- > target/m68k/gdbstub.c | 2 +- > target/m68k/helper.c | 10 +++++----- > 2 files changed, 6 insertions(+), 6 deletions(-)