From patchwork Tue Oct 15 15:44:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 835462 Delivered-To: patch@linaro.org Received: by 2002:a5d:4c8f:0:b0:37d:45d0:187 with SMTP id z15csp304256wrs; Tue, 15 Oct 2024 08:45:39 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVF3Jw+8SGWOyUAPowL1fmJ3iH8CsSgnrPSSn1zUDjVkdJ5HTGlQ12bCbHkkARMtGMg+7muPg==@linaro.org X-Google-Smtp-Source: AGHT+IH+Et7lN9wlp4RM6vuQwA0YbK9V6zHS81V4RJiUs4DIBwzPjf/Twogtqm1hzCERfmdXJK8+ X-Received: by 2002:a05:6102:2f5:b0:4a4:8502:491f with SMTP id ada2fe7eead31-4a4850251d6mr4388041137.7.1729007138920; Tue, 15 Oct 2024 08:45:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1729007138; cv=none; d=google.com; s=arc-20240605; b=asz+uuKctOvL7BDcSuNWIpFiurBnO5xzklm3QDvemEVjMFnHBW1E26sUT9+ShfjT0L dd+Hi6bX9Lt8g5WoJF/KL9ziI+npiDJBeZwbcHY8ZpppP6tzS8DEn7Ae69aIeA50x4QK pAahnNJ0GkAePRv5E10joZLGT564FukA0tREUJSaTa7Y+1rwD0cNkxHz1tGlKhZMRNz5 RnEoUWY8UjiaxTTf6ByVz/cif3WSOndj6GJEgf9IgOcEL0IW+a/C9wFjG8dile2kKPs7 S1plfgNNS2h3CVYtLd/R0PU62Wa99ycrwKi4ZWO1Oen/mWETmaMGxcbsEuxUL45372W8 ozVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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:dkim-signature; bh=qKnzIyfB55jcDJiuOhbkwT1go1+QVX88i2HpqTUCIA8=; fh=qtn8prgQtzf5IzCNvLChUZDElvNECP6ej9YfjQeBz3I=; b=ZfC3jJANaIhh6Zsx4cMw+tfsiwZk9o9Wn83aGdI8NfdmLba2QU8RjmGgaA7Fjm1Vu2 tlpvHk/TeTSVWXuSoDsStAVB8orMCKEKpR/pfSa4hL5NRW5L5mgRRfaS7yuErf8rxNLE +ZOMsiW9PWwhgaDnuX8Dw6uk9ckTq6wOR7NKq746EMZa8uo5xiAJELQGkWb63vKNvtKP Ntug+XMDYc5UG4eRB/oXK7QsO6kI5UhvjG6d/5nmmby5/7VVRcHbVOqzWoAuIswmjEbc QUl4HGT9Uubng30rWmn4h8vhrCF8qs04U+ZCMdS21nhObarMYCy0/eOMYmoUdw8XajOx G2Uw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xhVdIf+n; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id ada2fe7eead31-4a5acd497e2si399744137.473.2024.10.15.08.45.38 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 15 Oct 2024 08:45:38 -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=pass header.i=@linaro.org header.s=google header.b=xhVdIf+n; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t0jjk-0000Pf-2r; Tue, 15 Oct 2024 11:45:28 -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 1t0jjh-0000Jl-MP for qemu-devel@nongnu.org; Tue, 15 Oct 2024 11:45:26 -0400 Received: from mail-pj1-x1029.google.com ([2607:f8b0:4864:20::1029]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t0jjf-0000jQ-SR for qemu-devel@nongnu.org; Tue, 15 Oct 2024 11:45:25 -0400 Received: by mail-pj1-x1029.google.com with SMTP id 98e67ed59e1d1-2e2e050b1c3so3457605a91.0 for ; Tue, 15 Oct 2024 08:45:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1729007122; x=1729611922; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=qKnzIyfB55jcDJiuOhbkwT1go1+QVX88i2HpqTUCIA8=; b=xhVdIf+nz21MyhAwPReP3N7C+ruQfpA0aw0y/6tWfVTaULFQNuSyKq20b5PX2xJKDh xBa6n8eQoy03NIIDOswLmT8gL8LST2lVDcHghrK/579a3cKLE+EKsOKQGL+k4UyhRpv8 2EH2s07pgsYHpT9VksPBBsTgaIrFzwhd6SFjPO5IxFrOchU25Bd5hoIyP6oYDCM5Ypks 3E2zwvEy62zihuCUmvBYnf/6bvV8BTkbvA0kXEW+rGtp6mIQPD6enhm5an3fawF3/Fq3 NJh4+vujelWYr0bZkXqLpevh5FjtwBTbRkOUEA74oXShJpXV7mSG0/52si3qsVoCnizh AkLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729007122; x=1729611922; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=qKnzIyfB55jcDJiuOhbkwT1go1+QVX88i2HpqTUCIA8=; b=fZkOZJXtUHIx3AIH5VSw6aX6E0yq00DJXlBBjL/2y3t7dvrA93VCIrH2/0w2jFTZ9a ZMgmpp74MijUDJWPbOdn6MekBBGXXyJqK+YklI0phGZsmnTpkpbntnoGVxASIIBAkwvm MNs2ewpa9TWL0pm2rGfXJG1lp20fieSK01AixcPh8GWYTiyU2PebBArxYLkgkod30s9K kv88bEGxzl4Z2XG4zTYIZ7bO+PiJbB8T1LutbwuCs722BkyAZFBqGXaUo97YuDbPZ9jG 5PjpOt0KVKsLfb0myD7z59upxSVm00I24gSjGP9k0W39ykEHlpOShw0/Naxs4T4/vPdg N5Gg== X-Gm-Message-State: AOJu0Yz7ftu1mtU5oqsdinU2DZ4Sqra3sP65gxhu67j4dt6dqoWenasp 1i4F3J3f663sGeWSly4kr6EAG6VYQJxI92egNIib+1BCfVvRV8QGyEVBtx3OxgpeGXykWWvCNdl w X-Received: by 2002:a17:90a:3041:b0:2e0:8780:ecb with SMTP id 98e67ed59e1d1-2e2f0af2eaamr22888742a91.12.1729007122017; Tue, 15 Oct 2024 08:45:22 -0700 (PDT) Received: from localhost.localdomain ([45.176.88.167]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2e392f5f7f7sm1941754a91.37.2024.10.15.08.45.20 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 15 Oct 2024 08:45:21 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Richard Henderson Subject: [PULL 05/33] target/alpha: Replace ldtul_p() -> ldq_p() Date: Tue, 15 Oct 2024 12:44:14 -0300 Message-ID: <20241015154443.71763-6-philmd@linaro.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241015154443.71763-1-philmd@linaro.org> References: <20241015154443.71763-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::1029; envelope-from=philmd@linaro.org; helo=mail-pj1-x1029.google.com X-Spam_score_int: 12 X-Spam_score: 1.2 X-Spam_bar: + X-Spam_report: (1.2 / 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, RCVD_IN_SBL_CSS=3.335, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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-bounces+patch=linaro.org@nongnu.org The Alpha target is only built for 64-bit. Using ldtul_p() is pointless, replace by ldq_p(). Mechanical change doing: $ sed -i -e 's/ldtul_p/ldq_p/' $(git grep -wl ldtul_p target/alpha/) Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Message-Id: <20241004163042.85922-4-philmd@linaro.org> --- target/alpha/gdbstub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/alpha/gdbstub.c b/target/alpha/gdbstub.c index 13694fd321e..bf5091c2a6e 100644 --- a/target/alpha/gdbstub.c +++ b/target/alpha/gdbstub.c @@ -59,7 +59,7 @@ int alpha_cpu_gdb_read_register(CPUState *cs, GByteArray *mem_buf, int n) int alpha_cpu_gdb_write_register(CPUState *cs, uint8_t *mem_buf, int n) { CPUAlphaState *env = cpu_env(cs); - target_ulong tmp = ldtul_p(mem_buf); + target_ulong tmp = ldq_p(mem_buf); CPU_DoubleU d; switch (n) {