From nobody Sat Apr 11 20:06:20 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=1775488068; cv=none; d=zohomail.com; s=zohoarc; b=Cf1uSA/W+v0vpcFvj1izZiGP01cWS3sxhKKF/RlwtpPNEdHgOggnYeYCFKxo4yk7pb5OgkAiHaG9buLockwcRV3swBENh6t1h5LrTN6IXrD6VNgjtcsAFdcNMrM54Gw1xGjvprnvy5Hpg6XDKvDTcPdFCsAyTWGCkjmgDXe5ifk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1775488068; 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=n0wgNLa9n9Vgc0kuCG4RsEiFVidf8BLE6jw9JT+iAmc=; b=eP5eEc9EGf+LOwEaky4gVR4m73WyDUHw+wrt27+0InIeGyytPWl9UriBcLb3wIdqYTWAF9cxkMlTbLpS6ZdeCCD4FFBI8G0zW5efGp1iBxGBnksYfK/exCmve2NfcDi2lyO50t18Ftm4KdQARNM/jp7SpPoYsCq9UOGqt/xQWdQ= 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 1775488068571680.5068254311124; Mon, 6 Apr 2026 08:07:48 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1w9lVX-0002vT-MI; Mon, 06 Apr 2026 11:04:55 -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 1w9lVS-0002tb-VZ for qemu-devel@nongnu.org; Mon, 06 Apr 2026 11:04:51 -0400 Received: from mail-pl1-x630.google.com ([2607:f8b0:4864:20::630]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1w9lVQ-0003r3-Qr for qemu-devel@nongnu.org; Mon, 06 Apr 2026 11:04:50 -0400 Received: by mail-pl1-x630.google.com with SMTP id d9443c01a7336-2aaed195901so17216445ad.0 for ; Mon, 06 Apr 2026 08:04:48 -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 d9443c01a7336-2b274979d72sm137770075ad.51.2026.04.06.08.04.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Apr 2026 08:04:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1775487887; x=1776092687; 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=n0wgNLa9n9Vgc0kuCG4RsEiFVidf8BLE6jw9JT+iAmc=; b=jHdLgVc6F9d9iMizDFKaTGp8UtmXUyy9wSYh+p1RywX5OUi+4stw9M8mMAnWRXfFC7 Ykk538QfxN9g6PF+tnZYXeJGfPBNsNv4tpFi53ebkwdMRIUEPM+9CXhRcGXZMYUEmhU0 w/hGeHCKMhuvzJuJU0wJP0rMl3tWCgsOYz5aP8Y1R7tpYaf+3ZmL/sMgwbRTTKsSX4p+ VRE+KWMXqTOePBx97eLzHd9MelduFRFZNKj6NEFpoJY4HZ/iOVcTHhBOmr9KwUyO8Ueh vk4Jlqtm1zvADolTEoi61PFlOpHDb7m7yfK6kwYglQwyMRmbSGYKAPzTKC6ljtaMS+tw /vHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1775487887; x=1776092687; 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=n0wgNLa9n9Vgc0kuCG4RsEiFVidf8BLE6jw9JT+iAmc=; b=sEbHJdx+hnjXG0KCC31CW/dK+UVKavZ8cLwlsKQ7n3zosC9jGGAnHBRKY2gOfECyib IpsqeuOvOe1ZVqhvOP3wj4uYqhgfPjZepOQmYqr+MfZLIoR6xQhFaj9LaMAdPL7GnLIU 8U+1uuVt43nECOaINzTxg2xtPjQCA4sjIsCNZrJrxeLBNruVo8irIr4EQUsTXuXS+pYn XwAXw6dbkjK8jIfhkIygXLuDRUGqbUnOSm9m/RseA++pwKHevJAp+9yawYO8aPVUFV7I ogJG+DhY3EjFXBbz/SjygIlbqYv6B6uXYS6XGkpCHZNMhrvDBrkavoGqW0ifS5Fl2p+t kvAQ== X-Gm-Message-State: AOJu0Yy1UJ+PM51ucDkDVxurr0o2CTy+pyEmNoUreZTh3NdDI6q4lRXb GCOkh0N7cgCb09aOJF9lQykpm+Z6IC+obEr3i/Nd3zCc6AYSeMqlTH2tsgqCko7jyEB4r4Xx2JJ mWwNXPg6qwg== X-Gm-Gg: AeBDietkNczxBi8UN6M9qfTsTz8ucFOd1q1tFLegdlZkUd06Tmp+24awO46MAycPVRY YabQWY8W/gLI1xjR+9sh71DLD2TBPdxvewHu0avSBZl4PFa0QzYBIGdpZObWNW4XsmyClxbBRce FygHORTCJqHcj8+q8pLLywW3uGaHBgyx2yOVncL9l9n6/LZgBJVy1uzr8W/atynU0gIWy7JcJU8 BQTSlt0GdLsDxkAXJZF0mO44fGJ9xGD8j09hyV14bsW/IzLi24u/I0A8psx8CiSYr9cvRx0UctV C2XllGm4HAxN5dFb1i7uQ3yGjqkAKQwQgPDnzGEgFdbt5SSGv/m+AI1DtwfoM45rz4eCJGeFBUn ORySUx1xeW/UOVnIZBAtw4vnGKcAx1yHvkf0/rGa/fvg2iPOqSdizGnHAefZs90+QtbC9wegi3k zNpaqUETMqCNix1yTiekLu32e0QIDOyeMfPRR79gdBLEzLMusGcizMRJHNWP8POLQdNCNic33Kh iTG X-Received: by 2002:a17:903:2c05:b0:2b2:6df1:10d4 with SMTP id d9443c01a7336-2b28182d46amr140828655ad.27.1775487887364; Mon, 06 Apr 2026 08:04:47 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, Pierrick Bouvier , Peter Maydell , philmd@linaro.org, jim.macarthur@linaro.org, Paolo Bonzini , Richard Henderson Subject: [PATCH v7 05/14] target/arm/tcg/translate-vfp.c: make compilation unit common Date: Mon, 6 Apr 2026 08:04:25 -0700 Message-ID: <20260406150434.407201-6-pierrick.bouvier@linaro.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260406150434.407201-1-pierrick.bouvier@linaro.org> References: <20260406150434.407201-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::630; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pl1-x630.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: 1775488071193154100 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 Reviewed-by: Richard Henderson Tested-by: Richard Henderson 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