From patchwork Tue Aug 13 11:15:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Torbj=C3=B6rn_SVENSSON?= X-Patchwork-Id: 1971893 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=foss.st.com header.i=@foss.st.com header.a=rsa-sha256 header.s=selector1 header.b=biXysrB2; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WjpzC1kshz1yYl for ; Tue, 13 Aug 2024 21:28:07 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 866B8385840F for ; Tue, 13 Aug 2024 11:28:03 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [185.132.182.106]) by sourceware.org (Postfix) with ESMTPS id B26973858D20 for ; Tue, 13 Aug 2024 11:27:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B26973858D20 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=foss.st.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org B26973858D20 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=185.132.182.106 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1723548461; cv=none; b=uHqlm0Pfbb6KnW8ZuPC2rAuk0Ll+1Msi5fNqk8GJ6XkweegPPXCdWuL6Pzx7HKy6Q161hpzwtqSb7pbbwNqg1ZzEXJvfMD/wjjE6SaoIGFmfyonNhrlDYC7WNuqLfY9F6DCZHcUI+L2Tfk6acDVHvEidHZCDim5FyNNhx1MJDWU= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1723548461; c=relaxed/simple; bh=Ac14+TnGp6GPt7isqSxePh4zmbL1/WbDwoksGKnthq0=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=RlfHYgpVDpvsON+Arh8sZbNRBRCeQVESTnou3Hy03YE7TaeOea/ZaunH5e3qJimDJyG34g8dajVQuLez8ByZnkW8QX0r5HyuhhugE+ThGt2B+RTFBNhLp/frUJhYVJjxH5FqfzBmcuIa49qT2xzsKfekuaoiFuiISJrkZRU2Zvw= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from pps.filterd (m0241204.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 47DAHoP0002732; Tue, 13 Aug 2024 13:27:36 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= cc:content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to; s=selector1; bh=zZFr03zWPNM8bDlYyb2wT+ lv5VFgIyC6gwH6StE2Tdw=; b=biXysrB2MFMHLQgHt5Ry6nTvROKm036zCVt/Jc shBJrR0DnJy4vB9eMHQ0RZuJn5TEhlioOGOQanSkbl1K+RDce5qjZDWI0x9RGrgS crKe26iqhtOepATJmjTZzE8Bo+h/vnbuX6I/i6qjsDtC7pIpTD4xK/EKNrBMyKBT cn3XdZp0ZcKaC8sJ4Tl/YEaDPpCei298WVWivWHeqy0o0mRhsRGCi5kWvypcGOmO vGboe+7tEfrUJ8r70Fuurf4TfZFNS8VK4gT5qXTFwcwj+Xgb65WbwFohy+Vmi5wU WIqq18oR/es6M2DbM8mEs39W/UCMuaTL9cr0246GeAKBxEeQ== Received: from beta.dmz-ap.st.com (beta.dmz-ap.st.com [138.198.100.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 40x18mjj2u-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 13 Aug 2024 13:27:36 +0200 (MEST) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id A8C404011A; Tue, 13 Aug 2024 13:20:56 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node3.st.com [10.75.129.71]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 1D4FF24E1C4; Tue, 13 Aug 2024 13:16:42 +0200 (CEST) Received: from jkgcxl0004.jkg.st.com (10.74.22.255) by SHFDAG1NODE3.st.com (10.75.129.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.37; Tue, 13 Aug 2024 13:16:41 +0200 From: =?utf-8?q?Torbj=C3=B6rn_SVENSSON?= To: CC: , , =?utf-8?q?Torbj?= =?utf-8?q?=C3=B6rn_SVENSSON?= Subject: [PATCH] testsuite: Avoid running neon test on Cortex-M55 Date: Tue, 13 Aug 2024 13:15:26 +0200 Message-ID: <20240813111525.2562060-1-torbjorn.svensson@foss.st.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Originating-IP: [10.74.22.255] X-ClientProxiedBy: SHFCAS1NODE2.st.com (10.75.129.73) To SHFDAG1NODE3.st.com (10.75.129.71) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-08-13_03,2024-08-13_01,2024-05-17_01 X-Spam-Status: No, score=-11.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, GIT_PATCH_0, KAM_NUMSUBJECT, KAM_SHORT, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org Ok for trunk and releases/gcc-14? --- Cortex-M55 supports VFP, but does not contain neon, so the test is invalid in this context. Without this patch, the following error can be seen in the logs: .../attr-neon-builtin-fail2.c: In function 'foo': .../attr-neon-builtin-fail2.c:13:27: error: implicit declaration of function '__builtin_neon_vaddlsv8qi'; did you mean '__builtin_neon_vabshf'? [-Wimplicit-function-declaration] .../attr-neon-builtin-fail2.c:13:3: error: cannot convert a value of type 'int' to vector type '__simd128_int16_t' which has different size gcc/testsuite/ChangeLog: * attr-neon-builtin-fail2.c: Check ET neon. Signed-off-by: Torbjörn SVENSSON Co-authored-by: Yvan ROUX --- gcc/testsuite/gcc.target/arm/attr-neon-builtin-fail2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/testsuite/gcc.target/arm/attr-neon-builtin-fail2.c b/gcc/testsuite/gcc.target/arm/attr-neon-builtin-fail2.c index 9cb5a2ebb90..8942b0d68f1 100644 --- a/gcc/testsuite/gcc.target/arm/attr-neon-builtin-fail2.c +++ b/gcc/testsuite/gcc.target/arm/attr-neon-builtin-fail2.c @@ -1,6 +1,7 @@ /* Check that calling a neon builtin from a function compiled with vfp fails. */ /* { dg-do compile } */ /* { dg-require-effective-target arm_vfp_ok } */ +/* { dg-require-effective-target arm_neon_ok } */ /* { dg-options "-O2" } */ /* { dg-add-options arm_vfp } */