From nobody Thu Apr 2 17:19:10 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=1775071372; cv=none; d=zohomail.com; s=zohoarc; b=W4HIXj63SHYgR+gqPa25RGBnGZ3HeigwNnOiCRjW8QpIRN7b1AaHiDZ1E0c5ksr0iI0r0aOFLVguQpIia6t11sR4bj0mxLa4iuwWBCg7FgxQj84LleJVKeQhnO0wUW/Qu643q7lXMke1D71Hcq9otYJFWvfvpGpf+ZoGgmaGcPw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1775071372; h=Content-Type: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=lJA80joocb7PLTdewT/mj6/EXqr99Qh7WPXPAXbSMOA=; b=EB2kyL6hQPH/FId4fuY0h2V35xkTiKFfz4H1F3zVsTE1g1wNTK3MiIw4TcXWTKDyG+M96qlmR1YkLhDBX2+0UcBmWGPYCxUi/g1OGGoVtIAjZSuygjgdIuNhVhjx8u2yp71kEFM211OawjN2ky3PtpRcc9lJNmsQUiWIkQM9sY0= 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 1775071372015938.363112359835; Wed, 1 Apr 2026 12:22:52 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1w8184-0006dw-Cf; Wed, 01 Apr 2026 15:21: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 1w817p-0006Ti-2A for qemu-devel@nongnu.org; Wed, 01 Apr 2026 15:21:14 -0400 Received: from mail-pj1-x1033.google.com ([2607:f8b0:4864:20::1033]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1w817m-0002zX-9k for qemu-devel@nongnu.org; Wed, 01 Apr 2026 15:21:12 -0400 Received: by mail-pj1-x1033.google.com with SMTP id 98e67ed59e1d1-35d965648a2so59240a91.0 for ; Wed, 01 Apr 2026 12:21:09 -0700 (PDT) Received: from pc.taild8403c.ts.net (216-71-219-44.dyn.novuscom.net. [216.71.219.44]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-35dbe41b11fsm5633113a91.0.2026.04.01.12.21.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Apr 2026 12:21:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1775071269; x=1775676069; 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=lJA80joocb7PLTdewT/mj6/EXqr99Qh7WPXPAXbSMOA=; b=OjPh94gbQSxtdse3VVR7CGo/ZOFWc1L3AXYC8lH/xboyZjpPx4zS8cWJmpZKsI2UZM zXjW+Vgc4jDtMo2Nn/4fhsbtm6F0SYgrhHHZCd1R1tx5fPz0LJLBc6Bq51yKESUQsWDM vj8DGqD/GtvPONbDXVAcwEzowxheUShUYWtCbozd/94TdnuB3svch51pQiZMRVKQ9x+u 94H2HysD6w/te0eVu6xqcwDtVK4DY2NIA66YQch3l7bEawb1+WvfSD6tIadMO3NpSDEO tLK+FxpJ46ymLUWcQLm1w8YOGXA2lfwFkhwUdGGO4+GYApPB7j6hN9x25o0k9uBg5B1d zxNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1775071269; x=1775676069; 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=lJA80joocb7PLTdewT/mj6/EXqr99Qh7WPXPAXbSMOA=; b=aK8SFEjv1HoMfgJBBJ4QO4+SUk8/wqY815FhqfFKz+S+ZAFikvGXwKRuo3zBgBjmy1 6P6LQnuKbTakmjYANJW75VXuHMqCk1UwXqVnbaw4I1y7ctC8zVtXeFUsCBtqaKhMxZ3l j7ZAc8YLm9vFQlc6N73z7trSWJwquYJKVUADiP143JPWoQQnLlDACbhZInEnFaut4uZo J3e6Qjzl2bXXqIbk8QAsravGCNpSrQe41y+MbBQjqjIJv3SmGQCaGTMGTQKOlnAE4786 wthDtFLiwTvhvnpIZtd7tj/NoR2q6B6Vbru/MaIdyhnknt6rO9lvlHkNe9SIGl9FScb5 2w/w== X-Gm-Message-State: AOJu0Yy4SLRZCJofkJjlD9MzeM6SJBMoJKH1jBSCNKIdFStnwqLL5MzX Q/vamnSdcwedDpbzcU/8LEpEk/MnUytkrmLIBjqDKa53tsbyAR8Z5QuvI5Tqc46do6oDpZqQsA3 ej4YyevBlGQ== X-Gm-Gg: ATEYQzxQhsU1P33YXhczXy94TiqXSjJz7lJa7xXGf1n+uczin6kw3sXjLyv7RmJNkCJ lf0f8heneIu7sw4xFvuG8YfvTQEGoCxelUDwakitndegVKcBeyM8+Ak9Mk9VF64YbtJyR5RzWhq fAflJ7ODNK33k9r+2rsMW4e89Es5acFHeJhCFkv0dODrLwkEE+WIY+SJRRWNzFjN+dABeKoezM7 L9ChAwJvKRcyCPQSExZnFJ54Rm9Rdv1Nab4gzTJPyG/eBcE0GN6rjWb8NDOo8lDIS2Li3MSgtvo 8IGFN6ntnwgwws36J70aYHU+yZUBXEtr6d3Dz94PEGzdu+2Pk4feOmjHFdp+5ZcmtEoVwq0ESYk hykeqboXIezfu6h2bdj8TmkMjuI9n9t4RgyL2Evr3CBb3cfq0ba/cJ8qIHYRbkqnJkI6qEyYtX6 Ccc3OxqRUhCVi63jOLaV85zaUyvp7tc7MV7N4WqW1w2acmyReAKzxf2niyG+oHj9dnTsiy9Fkuz V6h X-Received: by 2002:a17:90b:52c7:b0:35d:a90d:580e with SMTP id 98e67ed59e1d1-35dc6fa653fmr3744378a91.23.1775071268593; Wed, 01 Apr 2026 12:21:08 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: Peter Maydell , qemu-arm@nongnu.org, jim.macarthur@linaro.org, Richard Henderson , philmd@linaro.org, Paolo Bonzini , Pierrick Bouvier Subject: [PATCH v6 05/12] target/arm/tcg/translate-vfp.c: make compilation unit common Date: Wed, 1 Apr 2026 12:20:50 -0700 Message-ID: <20260401192057.1182724-6-pierrick.bouvier@linaro.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260401192057.1182724-1-pierrick.bouvier@linaro.org> References: <20260401192057.1182724-1-pierrick.bouvier@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" 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::1033; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pj1-x1033.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: 1775071372316158500 Generated decode files must be duplicated between user and system, as they are generated in private folders per libs, and can't be included otherwise, as meson does not give control on output folder. Indeed, meson generator is a different approach than custom_target, and this is a limitation by design. They were already duplicated between arch variants anyway, so nothing new here. They will now be compiled once for system binaries, and still per target for user binaries. Reviewed-by: Philippe Mathieu-Daud=C3=A9 Signed-off-by: Pierrick Bouvier --- target/arm/tcg/meson.build | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/target/arm/tcg/meson.build b/target/arm/tcg/meson.build index 3e96c77df73..5f33ecd76e0 100644 --- a/target/arm/tcg/meson.build +++ b/target/arm/tcg/meson.build @@ -5,12 +5,15 @@ gen_a64 =3D [ decodetree.process('sme-fa64.decode', extra_args: '--static-decode=3Ddis= as_sme_fa64'), ] =20 +vfp_d =3D [ + decodetree.process('vfp.decode', extra_args: '--decode=3Ddisas_vfp'), + decodetree.process('vfp-uncond.decode', extra_args: '--decode=3Ddisas_vf= p_uncond'), +] + gen_a32 =3D [ decodetree.process('neon-shared.decode', extra_args: '--decode=3Ddisas_n= eon_shared'), decodetree.process('neon-dp.decode', extra_args: '--decode=3Ddisas_neon_= dp'), decodetree.process('neon-ls.decode', extra_args: '--decode=3Ddisas_neon_= ls'), - decodetree.process('vfp.decode', extra_args: '--decode=3Ddisas_vfp'), - decodetree.process('vfp-uncond.decode', extra_args: '--decode=3Ddisas_vf= p_uncond'), decodetree.process('m-nocp.decode', extra_args: '--decode=3Ddisas_m_nocp= '), decodetree.process('mve.decode', extra_args: '--decode=3Ddisas_mve'), decodetree.process('a32.decode', extra_args: '--static-decode=3Ddisas_a3= 2'), @@ -30,7 +33,6 @@ arm_ss.add(files( 'translate-m-nocp.c', 'translate-mve.c', 'translate-neon.c', - 'translate-vfp.c', 'm_helper.c', 'mve_helper.c', 'op_helper.c', @@ -60,7 +62,9 @@ arm_common_ss.add(files( 'crypto_helper.c', )) =20 -arm_common_system_ss.add(files( +arm_common_system_ss.add( + vfp_d, + files( 'cpregs-at.c', 'debug.c', 'hflags.c', @@ -68,14 +72,18 @@ arm_common_system_ss.add(files( 'psci.c', 'tlb_helper.c', 'tlb-insns.c', + 'translate-vfp.c', 'vec_helper.c', 'vfp_helper.c', )) -arm_user_ss.add(files( +arm_user_ss.add( + vfp_d, + files( 'debug.c', 'hflags.c', 'neon_helper.c', 'tlb_helper.c', + 'translate-vfp.c', 'vec_helper.c', 'vfp_helper.c', )) --=20 2.47.3