From patchwork Mon May 5 01:52:18 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierrick Bouvier X-Patchwork-Id: 887439 Delivered-To: patch@linaro.org Received: by 2002:a5d:430f:0:b0:38f:210b:807b with SMTP id h15csp1825344wrq; Sun, 4 May 2025 18:59:37 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUPr5k/MVOqLNSDC7sxU0OUtALO2uEgCMcDrHNUKMVo+OjqldPDIRqzMx54iUe75z2wK7mLdQ==@linaro.org X-Google-Smtp-Source: AGHT+IGEm80JjWWrq6mZLDjSuYf4IPOV0bta+8h3iJQYhyFLm6vVpdq/IRGysK0ZlpRz2UWOuvvb X-Received: by 2002:a05:622a:64e:b0:476:5fd5:4de7 with SMTP id d75a77b69052e-48d5d82ec69mr105315081cf.41.1746410377127; Sun, 04 May 2025 18:59:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1746410377; cv=none; d=google.com; s=arc-20240605; b=eu07/1MhxBR4+hvLlk8igOkPoQ/8C/qLNMLgoA7JoRMtfevfWT1Lg2M56SJU2q2fXP 7hnz7s2wngtm+qU1kTPeCxgPbJxLijv/+3KP2mZ0gq5yHxuP/btJFNP/2yBFkfIc6r3B TpEYoBjVRATwAD4vh27RyP5/KIjGBgd64dSOuHYePPN5ypqIEO2HjH/PLkJYG9aQLDMd zEfCHb+etkrx0N07+sW+GoUoz7xadxPWrGdg6rFtTMkzPcVGV8Me66WBY0+HDSyOY8OX C0Z/1GIA79SEjwprqoHP8rfzaaYHPnORo22D9lEagUCTQJAR0Yq7VhwGo/bOEzesbB42 bYBA== 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=ZO3KsYydwb/hhf/3jAlul68iv5kVCsUNHbrEnCVSccQ=; fh=NjGqp/B1Bwp2wtTnyHxTvlXYBfwRSGY9cE7hmKIZquY=; b=dQfrPx4Rm5qNWoKx/89FYymhBKKqFT0EJCnnJqGwUfDWU5hh7mAVSZsOb55JpcXZIt BxVgeIzN+Vd65RQdzyzcKN6I8X/gpZ8CxO3FhLOPpPB/Fo4xRRP8hM9AKjZeEeKH1Vdm 3AgsZ2lWUNTSLC70tWqSXtGbLMZGEGv0FgKkChAkV8N57wmBCyJVq8+HnNqe2TEwMqCE VXotlZuyjnQi+JHXCmg4WvQxSww8XsX2z9JXf1ECyEyVHDKgK7AkwZoNhlwl/sbS47CE wLxPZc4sNv49xztUqCX8cQ0vin82zQeyg7zgqqysDsU225Q87/fJD9vB9IEHwNLY/HEr GVNA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JFVD6cZr; 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 d75a77b69052e-48edb679b60si20051641cf.575.2025.05.04.18.59.36 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 04 May 2025 18:59:37 -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=JFVD6cZr; 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 1uBl4M-00025S-DM; Sun, 04 May 2025 21:56:34 -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 1uBl4I-0001gx-8X for qemu-devel@nongnu.org; Sun, 04 May 2025 21:56:30 -0400 Received: from mail-pj1-x1035.google.com ([2607:f8b0:4864:20::1035]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1uBl4G-00035n-C0 for qemu-devel@nongnu.org; Sun, 04 May 2025 21:56:29 -0400 Received: by mail-pj1-x1035.google.com with SMTP id 98e67ed59e1d1-3015001f862so2853987a91.3 for ; Sun, 04 May 2025 18:56:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1746410187; x=1747014987; 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=ZO3KsYydwb/hhf/3jAlul68iv5kVCsUNHbrEnCVSccQ=; b=JFVD6cZrspp0DBbobeV659UQbRevWvcBK+idkkVswnZcgD2/j9opDS62XlU52vSJVA cZz5DUrubathfuYI25lXh63VEBWbwXhaDdcub7ZNB3Wpj47N+OupVzk3vVrHe1Ig1zfk Z4tVTfDG+L85OnhM7weNgoGuYfwr4ghdOOsYPDwAI4zAzLjVFhKNPKoDf7x/zExEc6JF tGbaVXsFwZAyIgcStI8myKe6FhqPCLd8RKRI9gYG7I/yy/NNlaqNeoccQc+Jw9MpCtaf iYTZAVR52IcyjeCCcliaOszajmIwbgpxVuUugC6F+kPVCzivCjT+ekjONbSPjFKtnJlb Hhmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1746410187; x=1747014987; 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=ZO3KsYydwb/hhf/3jAlul68iv5kVCsUNHbrEnCVSccQ=; b=p1U3fpqIE4wISBIKGlErzWilJ7407aznJTqDyyesiLaD9rSwFc8mecT7tNA0uRahhh mbtFbbq6DcxwodbgclBHUa6BYprgyrgLHnoy5JOMn7Jd/Hi/suh1s0BIAs7yMQy05FkQ KeeM19n/3d86PM++8axtJQ4SLI6a5NqviCZR4Tgo8G4jfYvg7ImXPoVqPs8ahtlegd6X arXhldT78cnJqFNbOrSPcdAcqj2YHis0c+Inbhh3YpkiAXGwnVJVIqNcv52SXNhEgkRm A8w+ytxAjoHvpfBVXslDQpGupuGrJbTrOo19bUdqq3KuRX158ABpxEpl/TLsUnLv9inC saPw== X-Gm-Message-State: AOJu0YwPzBItaQ5ROBB7+DesPk/AkuIIvXqqHqYx7D/VM8D4p/GQGKL4 TsKs/E1ha5Wnbc2J2tNtRHGAUPxHThyVMy8yHK5bAEzPs9IFpFHzGNjq1CuKjSaO6YzDC8jGFwj cIdU= X-Gm-Gg: ASbGncsBQ8RGo1bU1l39Dkeg/hWAq0TcSUcE6rBGSBG4BOoRU/4alZRxu5NbVMaibcr 3ZQ2SpbKLk0ofVEBnSQErTw7kd+WVc7Jcm2PdD+k333yJBUMqDWKDw05DLOH83hPGBqsR0Q6GcP Y5vFEZSFiY2kF6B1anrW2ZagoUHC539j2eOLlnhyVb1wmk3j3FAtMnKM/GBO2JIci1Pf1iG99ct AotdW2mc3G9OII4bk0RUyoq/jcktGNyp6bMb/LH5ELPZ+5FOTgPMMcmZmP8omGxqBAPvo2AOkGC LpdaibQWr+enoFfrbnn4KQUmtNPvfIBtpjcDWnnC X-Received: by 2002:a17:90b:2dc7:b0:303:75a7:26a4 with SMTP id 98e67ed59e1d1-30a5adf923dmr11588398a91.7.1746410186889; Sun, 04 May 2025 18:56:26 -0700 (PDT) Received: from pc.. ([38.41.223.211]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-30a47640279sm7516495a91.44.2025.05.04.18.56.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 May 2025 18:56:26 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: Paolo Bonzini , qemu-arm@nongnu.org, richard.henderson@linaro.org, alex.bennee@linaro.org, kvm@vger.kernel.org, Peter Maydell , anjo@rev.ng, =?utf-8?q?Philippe_M?= =?utf-8?q?athieu-Daud=C3=A9?= , Pierrick Bouvier Subject: [PATCH v5 43/48] target/arm/tcg/iwmmxt_helper: compile file twice (system, user) Date: Sun, 4 May 2025 18:52:18 -0700 Message-ID: <20250505015223.3895275-44-pierrick.bouvier@linaro.org> X-Mailer: git-send-email 2.47.2 In-Reply-To: <20250505015223.3895275-1-pierrick.bouvier@linaro.org> References: <20250505015223.3895275-1-pierrick.bouvier@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::1035; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pj1-x1035.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 Reviewed-by: Richard Henderson --- target/arm/tcg/iwmmxt_helper.c | 4 +++- target/arm/tcg/meson.build | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/target/arm/tcg/iwmmxt_helper.c b/target/arm/tcg/iwmmxt_helper.c index 610b1b2103e..ba054b6b4db 100644 --- a/target/arm/tcg/iwmmxt_helper.c +++ b/target/arm/tcg/iwmmxt_helper.c @@ -22,7 +22,9 @@ #include "qemu/osdep.h" #include "cpu.h" -#include "exec/helper-proto.h" + +#define HELPER_H "tcg/helper.h" +#include "exec/helper-proto.h.inc" /* iwMMXt macros extracted from GNU gdb. */ diff --git a/target/arm/tcg/meson.build b/target/arm/tcg/meson.build index 8623152a645..3482921ccf0 100644 --- a/target/arm/tcg/meson.build +++ b/target/arm/tcg/meson.build @@ -30,7 +30,6 @@ arm_ss.add(files( 'translate-mve.c', 'translate-neon.c', 'translate-vfp.c', - 'iwmmxt_helper.c', 'm_helper.c', 'mve_helper.c', 'neon_helper.c', @@ -65,8 +64,10 @@ arm_user_ss.add(when: 'TARGET_AARCH64', if_false: files('cpu-v7m.c')) arm_common_system_ss.add(files( 'crypto_helper.c', 'hflags.c', + 'iwmmxt_helper.c', )) arm_user_ss.add(files( 'crypto_helper.c', 'hflags.c', + 'iwmmxt_helper.c', ))