From patchwork Mon May 5 23:20:15 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierrick Bouvier X-Patchwork-Id: 887515 Delivered-To: patch@linaro.org Received: by 2002:a5d:430f:0:b0:38f:210b:807b with SMTP id h15csp2292318wrq; Mon, 5 May 2025 16:31:10 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXYrxyf5rjrkcTHnEqQJ41p3wWfgY4sAvGAdIUmJcM0qKDIU2f6SKPWgIX+aD3AepoOMx0KjQ==@linaro.org X-Google-Smtp-Source: AGHT+IGlCBml7AZWh618vAQ2zdOlGhvHVE+tjJnmNwWjkqCI1eklRJmxZeKF3qZ/IkUPQZqcSOrJ X-Received: by 2002:a05:620a:4082:b0:7c5:9fd3:a90b with SMTP id af79cd13be357-7cae3afb985mr1305206685a.47.1746487869852; Mon, 05 May 2025 16:31:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1746487869; cv=none; d=google.com; s=arc-20240605; b=NN0G7djuafwOoNFKASKHytFxyXpwGnFERgtABc1w2lBHv+ESZEdUObpdEpoS2szH2v b8iXy1q1NC2IcehJQET+DlQIj4wA+HxxQp1yTOZwfIdDpdl3iG5SCQRQ0XTROaxJTMxG aznX06zCC6azo0lgGgpqpVSWiOCZ1H55+555vBFMFfBTbd4sxXNvapO8vYFN48X0tl2K Z6WQzV9Z5fhHlXXw2yYI0micj8Q/4we2MANRa0R9S49SsTvIxc1vAnNuh6DV0ZSgkk1D uaBruLeUUSywj9au26W2+qAV14T+PCWDoFYhhVYkKo6vlNp5FP9I7x7d+pyzqQBv3rv9 8AJw== 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=JZyZRD3+F1iwfSbHdRXdy1kvrAVUcrfC5UGzBivz9WE=; fh=sKdX4/MHbRvqsf1uWWiw/b4mRzIm0SRNXacICL4/ZgI=; b=jr109fwJJD5L0n70jP1nZdhi0DbicIHojJkYJjiaiNSSO//nSZhivzNtUPuf/sUDtg yxoafk8PFYFO3zQXUMfFubJKTrunb7nD8tTVNUaR13C7RE+s+u4fJ9hSO4a+nXBGPJaM eAUE+lqLy0gwwuc6PV/D2xo58HOKrtpas3VUiczB2qgF15vrtP3FWou/sQAavMToZ2aU WQFniT3GHDG3SHOZjsfVrZXuR0szg1MWKCeQ+5Jf3iUL3h0Ip0rbhiVeiVoPepGTbwIw LEEM+tJvVQgoFm6qPhYInEJfKsZODmBGJrOP4P/McuOybW/y0xst/E8ou/1FgbU4nnaM qleA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Dr6C+Iyl; 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 af79cd13be357-7cad24326f9si1038673085a.374.2025.05.05.16.31.09 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 05 May 2025 16:31:09 -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=Dr6C+Iyl; 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 1uC5CP-0002Si-H8; Mon, 05 May 2025 19:26:13 -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 1uC5Aa-00070h-Oo for qemu-devel@nongnu.org; Mon, 05 May 2025 19:24:23 -0400 Received: from mail-pl1-x62b.google.com ([2607:f8b0:4864:20::62b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1uC5AY-0003zc-Qr for qemu-devel@nongnu.org; Mon, 05 May 2025 19:24:20 -0400 Received: by mail-pl1-x62b.google.com with SMTP id d9443c01a7336-2279915e06eso54826275ad.1 for ; Mon, 05 May 2025 16:24:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1746487457; x=1747092257; 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=JZyZRD3+F1iwfSbHdRXdy1kvrAVUcrfC5UGzBivz9WE=; b=Dr6C+IylKvlrBMiBAfFYabyccq+c79O6wMzoNvEbB0lHYimXRbKCpQGTtAJQVh7AFy +VJXfA6s0YATVWWheQw4EzrmLoKnJtmpFrYZLku8Y/VeUGDHg7zsbOgOh3Uii08jV+Cz EMCzhi+65Er104K/ZKzUgaqP8XAwXfK7Tsk5RRTXuHE3qQ5GfSgAy0viFLdhj5TfT+4E 0txN3hH4Eq3n3FqUhJGoMnIZoGwoTpihsJXhoZvhdCw2TuvgQTqFgd1MCSx4MJ3dw0yr +7/QicQbYgYIIJmxRinmvw09Q+FzxK9iby+kdQoIOIZ9OIqs+gZku1emVFbOTIWY9fjP affg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1746487457; x=1747092257; 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=JZyZRD3+F1iwfSbHdRXdy1kvrAVUcrfC5UGzBivz9WE=; b=kTPz9hnx9KF+yOQoXkCksh78+02mex2cYm/7rmyHgGODP7mAYRiR2NqzW3Y4rIz/yP 0ESWm1RsigJIeDsXl9q6VEVx1Gnl54RB4ZFy60SmvejQgMqcjbHt1+43mQp5bS20A5WR F5ChQ1M+oGtIaT2l9WzJbdJK9tZV5H9a6HDJhGgR83gMOufqfd4sp0bq9AxDLMSHyA7K YYWJf63qxnSY25PtaFqgxpyI8WuTe5ROyXe5KkeaCveGUka9i/6ApecV5DnZArNRlNmX UuXt1D8/HqOALrRe7qGJKlU6PJvYGH3ijA2Uiuq1uJZhhbwVwqUKKf58p3ovpfOoGhCc e/WQ== X-Gm-Message-State: AOJu0YzFfFRiX/6s+Vcw5oqKb/9bk96BZCYR25t+pYuJdUonaSo6wiNW 4RgOQSSVQlsBHM821McQIwfJZQHbC0tZ+FNpVbEloPRx6FUFon+EhniKMx65Yd8pbf93k6MA1UF Cn2k= X-Gm-Gg: ASbGncvnrGuwwCsqKYXtC3LtPLxDEefnld6ciyc0bYwb7Q4IM5kixg5+qLjoZP+uLbF deGrNcYFcoG5RF5kNJ01M5gV47F/lciV72NHmCKZDAcUxboyxPfkaSiDUL4tn4wn01fWiDktnNx u94qoM2P/PK60Z8W7OoDpWx35p1sXK9G2UoOdmnEWDKNdFgQZJCZTf4nZm6HrsFQmKiimp8fSpV h8xGI/cYZX0x4TlITl0ndasKm2R56qGQgxirb5zxkptpPyZMl4+gRmw6H9rr7mXSAejg9yqeYa7 pTD9Kklgad64cQrnrauJcimaV92VT7uKkBGj9EIP X-Received: by 2002:a17:902:fc84:b0:223:64bb:f657 with SMTP id d9443c01a7336-22e1ec35548mr130085795ad.46.1746487456895; Mon, 05 May 2025 16:24:16 -0700 (PDT) Received: from pc.. ([38.41.223.211]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-22e16348edasm58705265ad.28.2025.05.05.16.24.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 May 2025 16:24:16 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: richard.henderson@linaro.org, anjo@rev.ng, Peter Maydell , alex.bennee@linaro.org, kvm@vger.kernel.org, Paolo Bonzini , =?utf-8?q?Philipp?= =?utf-8?q?e_Mathieu-Daud=C3=A9?= , qemu-arm@nongnu.org, Pierrick Bouvier Subject: [PATCH v6 50/50] target/arm/tcg/vfp_helper: compile file twice (system, user) Date: Mon, 5 May 2025 16:20:15 -0700 Message-ID: <20250505232015.130990-51-pierrick.bouvier@linaro.org> X-Mailer: git-send-email 2.47.2 In-Reply-To: <20250505232015.130990-1-pierrick.bouvier@linaro.org> References: <20250505232015.130990-1-pierrick.bouvier@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::62b; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pl1-x62b.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: 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 Signed-off-by: Pierrick Bouvier --- target/arm/tcg/vfp_helper.c | 4 +++- target/arm/tcg/meson.build | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/target/arm/tcg/vfp_helper.c b/target/arm/tcg/vfp_helper.c index b32e2f4e27c..b1324c5c0a6 100644 --- a/target/arm/tcg/vfp_helper.c +++ b/target/arm/tcg/vfp_helper.c @@ -19,12 +19,14 @@ #include "qemu/osdep.h" #include "cpu.h" -#include "exec/helper-proto.h" #include "internals.h" #include "cpu-features.h" #include "fpu/softfloat.h" #include "qemu/log.h" +#define HELPER_H "tcg/helper.h" +#include "exec/helper-proto.h.inc" + /* * Set the float_status behaviour to match the Arm defaults: * * tininess-before-rounding diff --git a/target/arm/tcg/meson.build b/target/arm/tcg/meson.build index 7502c5cded6..2d1502ba882 100644 --- a/target/arm/tcg/meson.build +++ b/target/arm/tcg/meson.build @@ -34,7 +34,6 @@ arm_ss.add(files( 'mve_helper.c', 'op_helper.c', 'vec_helper.c', - 'vfp_helper.c', )) arm_ss.add(when: 'TARGET_AARCH64', if_true: files( @@ -68,10 +67,12 @@ arm_common_system_ss.add(files( 'neon_helper.c', 'tlb_helper.c', 'tlb-insns.c', + 'vfp_helper.c', )) arm_user_ss.add(files( 'hflags.c', 'iwmmxt_helper.c', 'neon_helper.c', 'tlb_helper.c', + 'vfp_helper.c', ))