From patchwork Sun Jun 30 19:00:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 808704 Delivered-To: patch@linaro.org Received: by 2002:adf:fe0a:0:b0:362:4979:7f74 with SMTP id n10csp1271907wrr; Sun, 30 Jun 2024 12:04:37 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCX8p4pJZvMqbOuLwqGM64cJRF+j97WVqm9OtWa6dLAN4mjIpjAXbD6xcX33G4c/p9UtzVEDkCARjZ381+eoPwhf X-Google-Smtp-Source: AGHT+IGir4ArUUEUtLVy+apqVYMT4VKVbtmkSHPYlAz3autscW0hhI+ix3/kBKYXXM1axsT3XNFu X-Received: by 2002:a05:620a:4395:b0:79c:103b:af44 with SMTP id af79cd13be357-79d7babf504mr499022285a.65.1719774277601; Sun, 30 Jun 2024 12:04:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1719774277; cv=none; d=google.com; s=arc-20160816; b=02is/4tbnz+EVxQO/lluuIvLPYGHTiJ/eheTIyaUN3k7HS5Gkam1X6hO2ae80xYsk/ o+bFH8yUpd+V5nIX1LgUQCF+xSD5v2bMZ3eqzZmURfUVOO/EpD7yx/SMP/p8OH9/mved HjJr2qUx8Dynq2UxYpX9fLKw6+I8vZUXf+YazE2576fl3HIrqFRKtbnRlle29jrwUXGF z71B0wflpMe9ZsZA4ftTUM3fycSUJoohaF19txnVrs6Wh48EOBOYyK9vLWhTr86pPJU+ C8qMVLQrc137vY8LmxVx5st8aFs4IrvlKZlpaIiaH6aH/jlzvNMndUIkk8U8M1zS00tW X99Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; 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=psgLRimYc7hhYHP+Xsf4Ia/WwSlMX4jHMC7bGhjvWQ4=; fh=m75Mm+Gv5Bbap8d+kXNEQQV4hpb219dTdfnHt9ctQLQ=; b=zi4FhEcF7Nd0HPId0eVea7q3lFnwQ4SGVY+ACn0ENp7yawemZNLwARgmYlrNW7kB6e ihe9ezKeSyvxYInP6r4Q5DLkKvkTBZ0XKfFO3qUYQ6ITNjerTTDJicU5MSD5OkyfgzPG BSS5fhbg14B4WNMr2MuQIjX0vm4SV2YeQpjuduayfu8Co2NonRYm3RfS4b95/+2D98hX MdCnvAVpqTFZcp/uE5AhXQ2nZkEpU3rxYr+IB/XBNGpW3tkqeQ4VJdi3WulUF9s9LxOU f6gbe4D7uRSyBWSPixvFHqD78cFxgNuVrpM//pWgNul8lmIwBDAERkUDlSPtrS4ifuVp HoNQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=s8W0zGd5; 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id af79cd13be357-79d692f04eesi622411585a.355.2024.06.30.12.04.37 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 30 Jun 2024 12:04: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=s8W0zGd5; 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 Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sNznR-0004uN-MA; Sun, 30 Jun 2024 15:01:09 -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 1sNznO-0004qD-Id for qemu-devel@nongnu.org; Sun, 30 Jun 2024 15:01:06 -0400 Received: from mail-oo1-xc31.google.com ([2607:f8b0:4864:20::c31]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sNznJ-0007XH-Jd for qemu-devel@nongnu.org; Sun, 30 Jun 2024 15:01:06 -0400 Received: by mail-oo1-xc31.google.com with SMTP id 006d021491bc7-5c21ef72be3so1296293eaf.2 for ; Sun, 30 Jun 2024 12:01:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1719774059; x=1720378859; 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=psgLRimYc7hhYHP+Xsf4Ia/WwSlMX4jHMC7bGhjvWQ4=; b=s8W0zGd5e3AqOe33TG8kxG+gWhSbY0EfVXtiuaa1ifNZ7rPcoHWcSkO6tuxjy8hGWB B96Vemsp4sCQtJlgZKFRScrqtJoWmNqzPXn73UysK1UIA/kuY7T8wj+5CPPRaY2772Ob RXgUiLlzzgZZXoujMPh8su7dUIVWuBeiWCC+U50MYAYyPnx4CA0Nk3J6JTbjEOjCrYZ3 kvWLm92garvSr7jE35SBK+h+XzMsioVcj6tkvEKh40VRqahtcXyRgUKHH05jWtuLcoKZ j6zd00by+/iA49ZYDZKDEtICSq8bg+68nRmfPxywZgiUl+9QXAx3XDzP4suYzKsmtIrI uGCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719774059; x=1720378859; 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=psgLRimYc7hhYHP+Xsf4Ia/WwSlMX4jHMC7bGhjvWQ4=; b=FsCI2jpn5wNgzEY4yHpBgM5xjrtNLcqwtouH7bMHRVd/rlIhaKmDgVIR0rnupmR/5q Y+ajVbIoSXm0L7m1zybQOuWFz+NRALDJtiqX0v5xXY1wztvJm1uISvZqSfBwbnUcKiev zPYUShx5f1Pb1It+dGxMS2FZS9Eb03RxFLXjd3bbBl0lzWPxewyDw08OvsWBDyD7/eDp IAtt+2mjwU7VXms/5DjhuIKdql7VZ1BnFMph4EW4kpSP0rkrr2YlfWo3qfvZQDzEJGi0 rYX2wyCbYBvaExMJRvUUh10C5Rlox7a/zLckMkRQngVBBkIAiEAwIZFhYLfj8+jyqqX8 1Kcg== X-Gm-Message-State: AOJu0YycXYpXLMTh155+zIb/EGh+2Ui29W3MjoY9Sg2QQR7JTxeUyADF Y7p/0HlANpT5qg2ZJOBWxQENxZtB/1edvO6wwTRRLNhHR5p5qaGPeaKgG/b1rjwo62mRtegJ7vF A X-Received: by 2002:a05:6358:783:b0:1a5:f95:328f with SMTP id e5c5f4694b2df-1a6acc6ed86mr334101555d.13.1719774059140; Sun, 30 Jun 2024 12:00:59 -0700 (PDT) Received: from stoup.. (174-21-76-141.tukw.qwest.net. [174.21.76.141]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2c91d3e7e4bsm5115641a91.52.2024.06.30.12.00.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 30 Jun 2024 12:00:58 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: akihiko.odaki@daynix.com, alex.bennee@linaro.org, qemu-arm@nongnu.org Subject: [PATCH v4 07/14] tests/tcg/aarch64: Add -fno-integrated-as for sme Date: Sun, 30 Jun 2024 12:00:43 -0700 Message-Id: <20240630190050.160642-8-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240630190050.160642-1-richard.henderson@linaro.org> References: <20240630190050.160642-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::c31; envelope-from=richard.henderson@linaro.org; helo=mail-oo1-xc31.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 The only use of SME is inline assembly. Both gcc and clang only support SME with very recent releases; by deferring detection to the assembler we get better test coverage. Signed-off-by: Richard Henderson --- tests/tcg/aarch64/Makefile.target | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/tcg/aarch64/Makefile.target b/tests/tcg/aarch64/Makefile.target index e6d5e008a8..8817ac262f 100644 --- a/tests/tcg/aarch64/Makefile.target +++ b/tests/tcg/aarch64/Makefile.target @@ -20,6 +20,7 @@ run-fcvt: fcvt config-cc.mak: Makefile $(quiet-@)( \ + fnia=`$(call cc-test,-fno-integrated-as) && echo -fno-integrated-as`; \ $(call cc-option,-march=armv8.1-a+sve, CROSS_CC_HAS_SVE); \ $(call cc-option,-march=armv8.1-a+sve2, CROSS_CC_HAS_SVE2); \ $(call cc-option,-march=armv8.2-a, CROSS_CC_HAS_ARMV8_2); \ @@ -27,7 +28,7 @@ config-cc.mak: Makefile $(call cc-option,-march=armv8.5-a, CROSS_CC_HAS_ARMV8_5); \ $(call cc-option,-mbranch-protection=standard, CROSS_CC_HAS_ARMV8_BTI); \ $(call cc-option,-march=armv8.5-a+memtag, CROSS_CC_HAS_ARMV8_MTE); \ - $(call cc-option,-Wa$(COMMA)-march=armv9-a+sme, CROSS_AS_HAS_ARMV9_SME)) 3> config-cc.mak + $(call cc-option,-Wa$(COMMA)-march=armv9-a+sme $$fnia, CROSS_AS_HAS_ARMV9_SME)) 3> config-cc.mak -include config-cc.mak ifneq ($(CROSS_CC_HAS_ARMV8_2),)