From patchwork Thu May 15 10:25:41 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 890205 Delivered-To: patch@linaro.org Received: by 2002:adf:fd8a:0:b0:3a1:f579:ae88 with SMTP id d10csp3076697wrr; Thu, 15 May 2025 04:12:35 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVrgMUp+nc1kMBJcrZ17X54zRE0COA7XuBex3om2FpQPRX/LMCVyftpUCZZZiGu0aA35sHwVw==@linaro.org X-Google-Smtp-Source: AGHT+IEYQcVuvjW9vdvzeFYzVbzQsswP0Z/z6SewTvulgZL2IhYbcfQbEqUdGNuhlBTK8npgowOD X-Received: by 2002:a05:620a:f02:b0:7ca:d9e8:d722 with SMTP id af79cd13be357-7cd287e1865mr899544985a.17.1747307555474; Thu, 15 May 2025 04:12:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1747307555; cv=none; d=google.com; s=arc-20240605; b=aiCDVI99gx5xGMxkYy2Z8kOXA+xfEBOMstyyK67GLs4qAMdKbDvBKIQAUNd/L5dK/h Tvy+RWksu093/AoPXlY1SE9G4nyirf3nXZVuE4NY2GGvc8nUv4gX3j8wVcwzkhj+UQUk Kynx5y4NZrZuJC9TIjRcy43+YyomJfvoLaBhJP4AIf1hLLEqtX+dE/hmBBFnlqzlI+j3 D7UdBPPPsK4c5Yikxb3j0adWgnKaU7JhbSM8m6ePqhWw7CncCZBeXa6kyytCtTw398jd x6XvQpPzdf6T3ZSGVe/s8Scdour/VwZL4NIh+y84CGXIt/Ijqw4q4LbFpvpyZfXux71n 3YYg== 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:to:from :dkim-signature; bh=13/BUoafMVf2hXB1lodB0NtYzojM6Xz4vl88q8j35NI=; fh=PnYt+qEB9tAfMKoqBm2xjKOFpYyFFGPudh5cVIoieJM=; b=PE7+yVN/v1UZLAEhvTgVD/QYdwA9gxomRfApJnMF+ZCPJs93uOmKVlmVJmOnTHE+Ni Mi4WmY3111rARMS4qzoLysHXLI3jtuvRpMSSH4k/uxAv6kfNT2RvN6ZBzjTdR2yTWY8D rEsMOBCURbYm9YU/P340aIhWSqhRktp5Abw6iCli0mtg9aLnAV+pCLjlNJgI1diC2Psc JqBqrU/ppX8itAHuIk/pziTsRK6T0NMQ3kYfsXsvFPy91uaojriSlYMdl/1asc+QDnyq 9xyp3nJKQBnXYEEy0QWEGVbf9vs8ZJS9VlljLevIvvDZSv8PWiKrdYlkFFAirolO+a8D XYiw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uyxjCxQi; 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-7cd00fd3e34si1611881485a.248.2025.05.15.04.12.35 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 15 May 2025 04:12:35 -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=uyxjCxQi; 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 1uFVpm-0001xL-Po; Thu, 15 May 2025 06:29:03 -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 1uFVnk-0005ZV-RS for qemu-devel@nongnu.org; Thu, 15 May 2025 06:27:00 -0400 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1uFVni-0008IR-G3 for qemu-devel@nongnu.org; Thu, 15 May 2025 06:26:56 -0400 Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-43ede096d73so5415035e9.2 for ; Thu, 15 May 2025 03:26:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1747304813; x=1747909613; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=13/BUoafMVf2hXB1lodB0NtYzojM6Xz4vl88q8j35NI=; b=uyxjCxQiaKwNiUnmFVLxKc+YEsArTjPNsXl9Pbrqx20jaMWhCakFVQ8JIix2IOcOEe qxv2sqBQQ2cvMkvvh/BK1HN4nJ/NHzGgFQ8nP38BMy5dyKc43mclTgYUlto+mOPBU1Tc MZ+0LJCazUKMXNkCZHQURqG4yOFUBbc3dzxCVdDvVD7EhLhPMiKLJBIrJrehnq0iRsqX lJBuxjKvs1QxZ0gHjYLS/YdR6cPmEqlE5NEBMDjX/iM7ol7j4WipyMOJDH6nJgP+59sT INo2qjEN70hplIxsxEAQfC4l7JydLjFRI63aITB4Mtqqt7VCBTbTeda1ayYCroi8hy05 2ygg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1747304813; x=1747909613; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=13/BUoafMVf2hXB1lodB0NtYzojM6Xz4vl88q8j35NI=; b=SInJkE1fNartVCy0VHQh6S+nKt3BgdvVQ019m1n5jsDckMltgGXYuKzv4H1qIeTKtf aCwRVTUycnAZfH1BnvNMjkZfPaAcxYUcQKKHN33ivBI/Aa2OZh3MhCt9MEco5ImuJ6XL 9koY13pGQg3ztRLWI2j7EUc/MEx609Kygcq1L0JIkPwdMI3yo8QBsRz625gS2h8AMjst CXK/8eMajSnuraigp+CqVWnBbAeGz6d0GR/hLB2RLpKd2NWl47QySo9KClk8UQye4InH rT19v8iT2arYZODKI3sVAPcZraiRXQmCgzx26WxI/sKAsKbJ9q2QMZsQxRLyhV+ksXV2 Qrjg== X-Gm-Message-State: AOJu0YzyV4LzlD3lWuXFBmnCxPMbt/chgem/6tZmk52jibpp27P/kj3n kIvZUCuSnTtg6xC+imtsIhXFqdCuS4U7NKbQWfgMSFtXZMW/qC3iLvWgz34iLkGn1vwFSXqaAbX mvR0= X-Gm-Gg: ASbGncuNqu5dcHqmpFphY4VDpLQwd9ETTPeiFf2yj1U6NCgnxkCec7ooqUErrtDv5Xw ebRlIIfOMGF4kr30QR5UPNGkBm5h7XJ2p899jMrLNVNViqCDtEIE+1bOLRG2UcMQYL1OkL8gNoC iskgmPBoBBx0flNKQBjB9ncRVCfHd3L/swbLnLrjI2WhgeYfR1Lxd8P9P2xXzXlq1hwRuOxIdGw 1C7K57EMT8CD0CBCI3QpgEs3uyUiU8QGYEceadBjwsKVwbzumfiXjkGG8v0O3v0KZoXvq4c0lwI ++lqhpXYquGcIzMOCfGbMltTrzsR7XzAiymi70GRWNb921UXc22yi27/kw== X-Received: by 2002:a05:600c:3d06:b0:43d:585f:ebf5 with SMTP id 5b1f17b1804b1-442f20b90ddmr49362915e9.1.1747304812790; Thu, 15 May 2025 03:26:52 -0700 (PDT) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-442f396c3a4sm65657855e9.26.2025.05.15.03.26.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 May 2025 03:26:52 -0700 (PDT) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 53/58] target/arm/tcg/neon_helper: compile file twice (system, user) Date: Thu, 15 May 2025 11:25:41 +0100 Message-ID: <20250515102546.2149601-54-peter.maydell@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250515102546.2149601-1-peter.maydell@linaro.org> References: <20250515102546.2149601-1-peter.maydell@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32b; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x32b.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 From: Pierrick Bouvier Reviewed-by: Richard Henderson Signed-off-by: Pierrick Bouvier Message-id: 20250512180502.2395029-44-pierrick.bouvier@linaro.org Signed-off-by: Peter Maydell --- target/arm/tcg/neon_helper.c | 4 +++- target/arm/tcg/meson.build | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/target/arm/tcg/neon_helper.c b/target/arm/tcg/neon_helper.c index e2cc7cf4ee6..2cc8241f1e4 100644 --- a/target/arm/tcg/neon_helper.c +++ b/target/arm/tcg/neon_helper.c @@ -9,11 +9,13 @@ #include "qemu/osdep.h" #include "cpu.h" -#include "exec/helper-proto.h" #include "tcg/tcg-gvec-desc.h" #include "fpu/softfloat.h" #include "vec_internal.h" +#define HELPER_H "tcg/helper.h" +#include "exec/helper-proto.h.inc" + #define SIGNBIT (uint32_t)0x80000000 #define SIGNBIT64 ((uint64_t)1 << 63) diff --git a/target/arm/tcg/meson.build b/target/arm/tcg/meson.build index 02dfe768c5d..af786196d2f 100644 --- a/target/arm/tcg/meson.build +++ b/target/arm/tcg/meson.build @@ -32,7 +32,6 @@ arm_ss.add(files( 'translate-vfp.c', 'm_helper.c', 'mve_helper.c', - 'neon_helper.c', 'op_helper.c', 'tlb_helper.c', 'vec_helper.c', @@ -68,8 +67,10 @@ arm_common_ss.add(files( arm_common_system_ss.add(files( 'hflags.c', 'iwmmxt_helper.c', + 'neon_helper.c', )) arm_user_ss.add(files( 'hflags.c', 'iwmmxt_helper.c', + 'neon_helper.c', ))