Message ID | 20250507234241.957746-24-pierrick.bouvier@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:4683:0:b0:38f:210b:807b with SMTP id u3csp633318wrq; Wed, 7 May 2025 16:47:46 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXC1HzmKb830bbVD6D85eiFHuCEJd+YQtdeeDui4p8AcwRox2ZcBGdmjHvysc8JTGUyqwTsXw==@linaro.org X-Google-Smtp-Source: AGHT+IE2J5KagXkSeaulVtjoJu7BGAHBpPAhwpq9tF3EUYtVtKu4cEeHfSVtN70MdDDXsnUHVavV X-Received: by 2002:a05:6214:f05:b0:6ed:22ef:19b6 with SMTP id 6a1803df08f44-6f542a0f7f1mr75448646d6.14.1746661666080; Wed, 07 May 2025 16:47:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1746661666; cv=none; d=google.com; s=arc-20240605; b=Hv8yphIDOzYKrh/YRfzWRS5iKnUW530rmfiuuL1ejQkiCvgWqeiOIGFZfHEvtUcJBH rwLivgzUSKc44z8YAcbYDv9sGoxgA7ETYwRYVvld5ZHy7qkwVMFqgFdjeujE67o5tM7G LItUbZBClMBfGFYW9X6LNTr+ucL68ykzD/fe5bPURSNA6ffyygAJn4o1S7M/MKpQShEi xDzN9DcwyvTgLGYemgEymH4oeV0U83XysVBWNxzhKgDbRnJSCl7HDztlTJ84PkIf6zfG 8/xH5bp7yqPAvjZJbHFQp8hLt9ZGujSrXeqMjZe1y9xnF+cMsKakOT73n6UMLrbks8YK 2+Uw== 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=vzs2UwtIJQNFywCbX3keywjm1hoL8ZwFtVh1FsE0O+o=; fh=Zbxy5TRiDd+Eff0zsN+2XmZYe/TihsWpxb97dHV4h78=; b=jgnFzqEuMG3l7nM8jTu3xo6l9uf2shyU4SVz4X+cpZ1DDi3V44n3g3k1J569LJFIsN Oj6v4qCOe7NrXlBE7xjoe5894X+QEgncq9JHNlM7rZqPgQfqLbhDSOojbCGhn+YM6NVF ZV9n9qp5MnLd+YLY53d3NuGe5Lp4iX5DHaKn59KtQtRo3AucQIDtShC14V/SJqXbQ4B4 jCAvWm3rwQPGSoLbLK0CsKihI3auphTduSJn6Djqttnp+E/vzJX0j6qdRrAJdSVgnZv/ +IfT8YSo5q74SHBFGVWs9RVkUoc252Zey7tXXus+7F1kGF+JtPIuoley9PYuaLZj7IrA Tqyw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rpAMrpdQ; 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: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 6a1803df08f44-6f5426272e7si30225156d6.11.2025.05.07.16.47.45 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 07 May 2025 16:47:46 -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=rpAMrpdQ; 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 <qemu-devel-bounces@nongnu.org>) id 1uCoQC-0000in-Hq; Wed, 07 May 2025 19:43: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 <pierrick.bouvier@linaro.org>) id 1uCoPs-00006y-4K for qemu-devel@nongnu.org; Wed, 07 May 2025 19:43:08 -0400 Received: from mail-pl1-x635.google.com ([2607:f8b0:4864:20::635]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <pierrick.bouvier@linaro.org>) id 1uCoPq-0002Xc-00 for qemu-devel@nongnu.org; Wed, 07 May 2025 19:43:07 -0400 Received: by mail-pl1-x635.google.com with SMTP id d9443c01a7336-22fa48f7cb2so331035ad.1 for <qemu-devel@nongnu.org>; Wed, 07 May 2025 16:43:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1746661383; x=1747266183; 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=vzs2UwtIJQNFywCbX3keywjm1hoL8ZwFtVh1FsE0O+o=; b=rpAMrpdQCp+nEGUXta3Y+E7qoK/nuXOperJ1fqPbalR86GRB7dL+W8FShdjbrSAlV8 fiVvug2JhlUPWtDwhA6vV/2ceddwnicQSYAXwZQpkQWsZvQ/wzGpRGQYqd7MYGUiZXP3 bmOnfhX57hcFha/z/mQhpu7aX6vaxfR9sP7ol7IHziWD1KSSSN2YNsX0/Y77+Bke1Ekk gxW2X/0laeUFx0Nh90KB/eDeSzLvKFbkNcd6PhlPai2libVgfDriNB12uWGFfHIopyoj miWXnbbMmWCSfgHkEBagId3uJ5weKMyEPetE10dEGNYXcIsKhKCibsqoU7dvt7f/+ScY JbDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1746661383; x=1747266183; 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=vzs2UwtIJQNFywCbX3keywjm1hoL8ZwFtVh1FsE0O+o=; b=XImhRm54m9iY+0AE5Q87bkFWHt8PeGfJN+FXxmYo8gq8RRmiURw2ag8aU2b3NY0OZh 1Vtl6rzIpQHf4+m5BYmFXValT6XuA6JFShUGxFEeKno36s6m35Z7ov0IJ1ghQXHVvV0m 6rSLkaWpfrWcifh/iVr3ipeZXHx6Pzbqu1CDZtiVckOMRtClTNuUE77irYiJQUb7ySES S/ravy4o4qtnDu/2HaBgCQf7leyNfHoK6c63YHUityi8dG0YpRTw0uQmJcjm6kzYHLdn /5dS6S/MQNfy907YJeJS0GWgBtHOyJh+fDaYGDTtXnnySSakG90ACqo4lcxcBJQiaklC LFmw== X-Gm-Message-State: AOJu0Yy8FfrH7vGKxE/ITyd3P4TjOv5wXSaB5Q2trXkvMjlnXNDpKDZK QCuxtWL9sc+LSOA5HqeMnEyZRgDK1dwo4VSAvz/gOkzTTkzXUV+vmF+gTluQ/YtfT9rxMupwJtM Q4fvkEQ== X-Gm-Gg: ASbGncvMPUhC6UAi8UlhBqH1255dlqi9pLg+rdt3yzB+ljxlnOee70q058BTIBJCZaz L/cdNfBRuUatyw3+xLxLfnjtwxjVQUaLrXOBq3tI00yYIDnyx97+MK/ytvOMrBUli2K7gew/fXA A1nPztqLPxHlNijSbzYzPFD+tatjszxDveC8MmD+S0TNQ206fzHLoAk2h5irhoJKyuk8k2cyaEu vm3yuhTUiuQ7XQcsezisDdTYDYUhhhn4ZwTS0wTRLkos8x/BUiqQ5T/h8FdaijY8qLymeAGOk8p O7k1D70qQvHq6Hn0TGu1fbPB7Y/C3sEKFl0Mg/fR X-Received: by 2002:a17:903:32ce:b0:226:3781:379d with SMTP id d9443c01a7336-22e5ece3fb5mr76592015ad.33.1746661383483; Wed, 07 May 2025 16:43:03 -0700 (PDT) Received: from pc.. ([38.41.223.211]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-22e815806fdsm6491325ad.17.2025.05.07.16.43.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 May 2025 16:43:03 -0700 (PDT) From: Pierrick Bouvier <pierrick.bouvier@linaro.org> To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, anjo@rev.ng, Peter Maydell <peter.maydell@linaro.org>, Richard Henderson <richard.henderson@linaro.org>, alex.bennee@linaro.org, Paolo Bonzini <pbonzini@redhat.com>, kvm@vger.kernel.org, =?utf-8?q?Philipp?= =?utf-8?q?e_Mathieu-Daud=C3=A9?= <philmd@linaro.org>, Pierrick Bouvier <pierrick.bouvier@linaro.org> Subject: [PATCH v7 23/49] target/arm/helper: remove remaining TARGET_AARCH64 Date: Wed, 7 May 2025 16:42:14 -0700 Message-ID: <20250507234241.957746-24-pierrick.bouvier@linaro.org> X-Mailer: git-send-email 2.47.2 In-Reply-To: <20250507234241.957746-1-pierrick.bouvier@linaro.org> References: <20250507234241.957746-1-pierrick.bouvier@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::635; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pl1-x635.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=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: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
single-binary: compile target/arm twice
|
expand
|
diff --git a/target/arm/helper.c b/target/arm/helper.c index 18ac8192331..e3ca4f5187d 100644 --- a/target/arm/helper.c +++ b/target/arm/helper.c @@ -29,6 +29,7 @@ #include "qemu/guest-random.h" #ifdef CONFIG_TCG #include "accel/tcg/probe.h" +#include "accel/tcg/getpc.h" #include "semihosting/common-semi.h" #endif #include "cpregs.h" @@ -6565,9 +6566,7 @@ static void zcr_write(CPUARMState *env, const ARMCPRegInfo *ri, */ new_len = sve_vqm1_for_el(env, cur_el); if (new_len < old_len) { -#ifdef TARGET_AARCH64 aarch64_sve_narrow_vq(env, new_len + 1); -#endif } } @@ -10625,9 +10624,7 @@ static void arm_cpu_do_interrupt_aarch64(CPUState *cs) * Note that new_el can never be 0. If cur_el is 0, then * el0_a64 is is_a64(), else el0_a64 is ignored. */ -#ifdef TARGET_AARCH64 aarch64_sve_change_el(env, cur_el, new_el, is_a64(env)); -#endif } if (cur_el < new_el) { @@ -11418,7 +11415,6 @@ ARMMMUIdx arm_mmu_idx(CPUARMState *env) return arm_mmu_idx_el(env, arm_current_el(env)); } -#ifdef TARGET_AARCH64 /* * The manual says that when SVE is enabled and VQ is widened the * implementation is allowed to zero the previously inaccessible @@ -11530,12 +11526,9 @@ void aarch64_sve_change_el(CPUARMState *env, int old_el, /* When changing vector length, clear inaccessible state. */ if (new_len < old_len) { -#ifdef TARGET_AARCH64 aarch64_sve_narrow_vq(env, new_len + 1); -#endif } } -#endif #ifndef CONFIG_USER_ONLY ARMSecuritySpace arm_security_space(CPUARMState *env)