From nobody Wed Feb 11 04:02:51 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1770754602; cv=none; d=zohomail.com; s=zohoarc; b=KoMpYuT2/I7pzx+qRilaDRAjyJC2uBLvr6q/42Q0lhJAxwrpIKFkjNkOErZeirxsmtnwRQ3UkxzT5dSAvvxOW7kpAzapLKOTzjTGJa1cxWqFEtClkitoBQqisJQ/jEKK3bxDgw4CkhK0MgHGiJQpOiUxNFjk/5ApEly2jchPieM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1770754602; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=UdK2rOS2bitRzrDxI30pyU/TEy+Znetuyj+EjMa6JSY=; b=lUIpZd5ThL8ZHoFfsia6mJ1DWlc7ECyNXqJXzVPfBQWHx/3VF/QK8Yno0R+f/+fHDBj+jL8LxMGgv5KYLG9I78T1wQRA8pkLFskG5A2eDsTDlS5iCgH9Nmj5U/GiMf2QeFbpAy287EkPytzKkps/4k9yMEx0pZ6z4NLFXxpk9LU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1770754602132110.08573381678502; Tue, 10 Feb 2026 12:16:42 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vpu9N-0007y9-TU; Tue, 10 Feb 2026 15:15:59 -0500 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 1vpu9H-0007dO-HD for qemu-devel@nongnu.org; Tue, 10 Feb 2026 15:15:51 -0500 Received: from mail-pg1-x52c.google.com ([2607:f8b0:4864:20::52c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1vpu9F-00089I-8b for qemu-devel@nongnu.org; Tue, 10 Feb 2026 15:15:51 -0500 Received: by mail-pg1-x52c.google.com with SMTP id 41be03b00d2f7-c6dcdc955a1so1679962a12.2 for ; Tue, 10 Feb 2026 12:15:48 -0800 (PST) Received: from pc.taild8403c.ts.net (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2ab0b392cb5sm38523225ad.70.2026.02.10.12.15.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Feb 2026 12:15:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1770754547; x=1771359347; 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=UdK2rOS2bitRzrDxI30pyU/TEy+Znetuyj+EjMa6JSY=; b=EXDu9DnoXDa3pskMvYlRTnKLLkFF2jdSPXqZNjQ3wqSbw61a1+7isiTjuuXf440BaI ZUcXETlFpGVGDmptNAjGtfXR9TTta7WSWa2cdVq21PeBp9Dm6d81cDP0IGJN88MVB/C3 NkIXzrvT2V07q6246ye3im37hjBjKEPUWSvznh8P4p5KRLfd4rO0nBZrc3PRg+uvqeZH IL9cDjMwlpALE6hpn4rBoFz3CwOes0Avh8nSuOONY8pI7DTPjokXjLlgqq3dgNV/S5PP 9nIRRGv3TCRAYbKXfxIWzkpHfDdyrvhw1cxbCyNmiz1SLLr9fMNOwMQiXUiJZ2aLZEwt bTOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770754547; x=1771359347; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=UdK2rOS2bitRzrDxI30pyU/TEy+Znetuyj+EjMa6JSY=; b=iVPPWmSfIGPhl46qwljq88+yY0Qf6AO0VPhCIxqQLLOGgpfk647bG+7JEONlG9eAQo 8FyCNoxoHBed0gufpBvljlBiEO38BTtqfcPxKGWKvOA4+VSvoze9nS4QlZkfSoWn/e0h 9rISKOeXhxE2tnFD3CTuXGFPFH0Yl0Gc0QAr3KTIvDkmF+ciTcpUnmUKlSVpZG8j+Tys kV1URnSRePCI502zqCZsnZLmxwsEhbtIxOMwg/o47M037qyjhYwvoOFmAQr6JqyXydzF QcPARYnJBQoPLTwAnOerUMYDUdebx1yGd1vzNFC1yVSTvWGqZjwCShhHKhZjZIqo3pFR wGVQ== X-Gm-Message-State: AOJu0YycvT+APYas71dLJr2576KCr6RVroZVuNfQhZV+iowp+OH/Il/G lv7ou5SHclODfhoEv3QFvoSo9UZZLBPiWGyJCdSuieOe4UtvFKbjiPZBF41m31hJ43dW6fClVy0 wHtta X-Gm-Gg: AZuq6aKKWzmbftaGVy2IlExJ1Jv9c3Mne8t24hsKyISliBv1r3L0cAC9mHiCX7dRyZy cAxwLV94D1ICiq2zr3i7PgxSP4RW/33mJl2uhYyUsRaaEovqY4eDMularrTBX75hpJf48DckxK+ Sifs2ianxZuNYM1ArUc+UI04PHhZuX0EVx+2wHV+e+7GrazYbImzFyNoxaUnHBeQXl6pQ4JQb01 +zXAwWnfRw5IN0DHAbgJInaduwjsYPOnx/9b/wSKdTXglYbCCQZcCxA4B3tcukUjKbGxc1OL8yX HlloqienUl2DgRQV9iLCOg1czzC05jLNvE9XHR15vfZBmFqxCv4SeGZDrvp4bXpV24VRCyVxiV5 OObIR/CRUQddEy6EuRGmeWSQZdkWWAWu4iQ4/ARaSdW9E8vfcT96lyS84V/SOgD+EVQuSEoEkl2 IqKai5qDUS7D6QnVpVCSHB2vqtWJWBSCOO8+9L2XiraMwh/br1uQ/22f5GEXRfbPEXv0+Vc1aq9 9M+ X-Received: by 2002:a17:902:ef0c:b0:2aa:dc84:251f with SMTP id d9443c01a7336-2aadc8429c0mr88006075ad.2.1770754547155; Tue, 10 Feb 2026 12:15:47 -0800 (PST) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: anjo@rev.ng, Jim MacArthur , kvm@vger.kernel.org, Paolo Bonzini , =?UTF-8?q?Alex=20Benn=C3=A9e?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Pierrick Bouvier , Peter Maydell , qemu-arm@nongnu.org, Richard Henderson Subject: [PATCH v3 02/12] target/arm: extract helper-a64.h from helper.h Date: Tue, 10 Feb 2026 12:15:30 -0800 Message-ID: <20260210201540.1405424-3-pierrick.bouvier@linaro.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260210201540.1405424-1-pierrick.bouvier@linaro.org> References: <20260210201540.1405424-1-pierrick.bouvier@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2607:f8b0:4864:20::52c; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pg1-x52c.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 development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1770754602900158500 Content-Type: text/plain; charset="utf-8" Reviewed-by: Richard Henderson Signed-off-by: Pierrick Bouvier --- target/arm/helper-a64.h | 14 ++++++++++++++ target/arm/helper.h | 1 - target/arm/tcg/{helper-a64.h =3D> helper-a64-defs.h} | 0 target/arm/tcg/helper-a64.c | 4 ++++ target/arm/tcg/mte_helper.c | 1 + target/arm/tcg/pauth_helper.c | 1 + target/arm/tcg/sve_helper.c | 1 + target/arm/tcg/translate-a64.c | 1 + target/arm/tcg/vec_helper.c | 1 + 9 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 target/arm/helper-a64.h rename target/arm/tcg/{helper-a64.h =3D> helper-a64-defs.h} (100%) diff --git a/target/arm/helper-a64.h b/target/arm/helper-a64.h new file mode 100644 index 00000000000..cda7e039b72 --- /dev/null +++ b/target/arm/helper-a64.h @@ -0,0 +1,14 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + +#ifndef HELPER_A64_H +#define HELPER_A64_H + +#include "exec/helper-proto-common.h" +#include "exec/helper-gen-common.h" + +#define HELPER_H "tcg/helper-a64-defs.h" +#include "exec/helper-proto.h.inc" +#include "exec/helper-gen.h.inc" +#undef HELPER_H + +#endif /* HELPER_A64_H */ diff --git a/target/arm/helper.h b/target/arm/helper.h index 44c7f3ed751..79f8de1e169 100644 --- a/target/arm/helper.h +++ b/target/arm/helper.h @@ -3,7 +3,6 @@ #include "tcg/helper.h" =20 #ifdef TARGET_AARCH64 -#include "tcg/helper-a64.h" #include "tcg/helper-sve.h" #include "tcg/helper-sme.h" #endif diff --git a/target/arm/tcg/helper-a64.h b/target/arm/tcg/helper-a64-defs.h similarity index 100% rename from target/arm/tcg/helper-a64.h rename to target/arm/tcg/helper-a64-defs.h diff --git a/target/arm/tcg/helper-a64.c b/target/arm/tcg/helper-a64.c index e4d2c2e3928..07ddfb895dd 100644 --- a/target/arm/tcg/helper-a64.c +++ b/target/arm/tcg/helper-a64.c @@ -22,6 +22,7 @@ #include "cpu.h" #include "gdbstub/helpers.h" #include "exec/helper-proto.h" +#include "helper-a64.h" #include "qemu/host-utils.h" #include "qemu/log.h" #include "qemu/main-loop.h" @@ -43,6 +44,9 @@ #endif #include "vec_internal.h" =20 +#define HELPER_H "tcg/helper-a64-defs.h" +#include "exec/helper-info.c.inc" + /* C2.4.7 Multiply and divide */ /* special cases for 0 and LLONG_MIN are mandated by the standard */ uint64_t HELPER(udiv64)(uint64_t num, uint64_t den) diff --git a/target/arm/tcg/mte_helper.c b/target/arm/tcg/mte_helper.c index 08b8e7176a6..01b7f099f4a 100644 --- a/target/arm/tcg/mte_helper.c +++ b/target/arm/tcg/mte_helper.c @@ -31,6 +31,7 @@ #endif #include "accel/tcg/cpu-ldst.h" #include "accel/tcg/probe.h" +#include "helper-a64.h" #include "exec/helper-proto.h" #include "exec/tlb-flags.h" #include "accel/tcg/cpu-ops.h" diff --git a/target/arm/tcg/pauth_helper.c b/target/arm/tcg/pauth_helper.c index c591c3052c3..5a20117ae89 100644 --- a/target/arm/tcg/pauth_helper.c +++ b/target/arm/tcg/pauth_helper.c @@ -22,6 +22,7 @@ #include "internals.h" #include "cpu-features.h" #include "accel/tcg/cpu-ldst.h" +#include "helper-a64.h" #include "exec/helper-proto.h" #include "tcg/tcg-gvec-desc.h" #include "qemu/xxhash.h" diff --git a/target/arm/tcg/sve_helper.c b/target/arm/tcg/sve_helper.c index c442fcb540d..0600eea47c7 100644 --- a/target/arm/tcg/sve_helper.c +++ b/target/arm/tcg/sve_helper.c @@ -24,6 +24,7 @@ #include "exec/helper-proto.h" #include "exec/target_page.h" #include "exec/tlb-flags.h" +#include "helper-a64.h" #include "tcg/tcg-gvec-desc.h" #include "fpu/softfloat.h" #include "tcg/tcg.h" diff --git a/target/arm/tcg/translate-a64.c b/target/arm/tcg/translate-a64.c index 7a8cd99e004..1a54337b6a8 100644 --- a/target/arm/tcg/translate-a64.c +++ b/target/arm/tcg/translate-a64.c @@ -18,6 +18,7 @@ */ #include "qemu/osdep.h" #include "exec/target_page.h" +#include "helper-a64.h" #include "translate.h" #include "translate-a64.h" #include "qemu/log.h" diff --git a/target/arm/tcg/vec_helper.c b/target/arm/tcg/vec_helper.c index 33a136b90a6..7451a283efa 100644 --- a/target/arm/tcg/vec_helper.c +++ b/target/arm/tcg/vec_helper.c @@ -20,6 +20,7 @@ #include "qemu/osdep.h" #include "cpu.h" #include "exec/helper-proto.h" +#include "helper-a64.h" #include "tcg/tcg-gvec-desc.h" #include "fpu/softfloat.h" #include "qemu/int128.h" --=20 2.47.3