From patchwork Thu Oct 31 18:26:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Torbjorn SVENSSON X-Patchwork-Id: 2004831 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=LaKA15Hv; 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 4XfXf80Q4wz1xwc for ; Fri, 1 Nov 2024 05:32:16 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 3C6E0385735D for ; Thu, 31 Oct 2024 18:32:14 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) by sourceware.org (Postfix) with ESMTPS id B97423858CDB for ; Thu, 31 Oct 2024 18:31:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B97423858CDB 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 B97423858CDB Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=91.207.212.93 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1730399508; cv=none; b=NUp8s+Z/CforS4BgRH53e+qLG6FhYWtCrwBbl+qyBA5HCZKMRapXUAbOlhbWCjxokxnjJ8CSQNG2lCU0YvxzDKNOWCaIS9P36PvzfvFnET7lsyDLLKZzHV4EBOirKIi3E3kq4193nBlFr0cXcJ/4s4gHvFhys29zjroagUlvHLI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1730399508; c=relaxed/simple; bh=iHwX6oNoMvyZmVTLfh9pyQXwwZRG1TusEJHMfRekE4Q=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=eaumivtzL1cji55GP8SbfUNhLMYFKCBoQ4uBoqoRzVB3pEpx6dAIEBqG64tF5Y8/1ZTosqDkO+dpZU+s8Rb60JwaQOA2atqnQa1pqxv6SttFcQu5I9qkh1Vh1U/aar7QdORTErUiq1QsrrIZmdYP+e/MZ7TOoOkdgSg3dy8MOO4= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 49VBm1Ox032633; Thu, 31 Oct 2024 19:31:43 +0100 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=9mWTkgwDMOTj3O7ClwvQnx +7oaqvWhK9A4vUAoILmGU=; b=LaKA15Hvxi7nkQ1Mr5AXgciUIgtjDGOXQ85LWi mH2EPEbEFM53m2opw2KiXOJZUDjvxN77qDv2Qm3jITR9bp4oFkkFw4pyAkzBdcE4 In/pFtnAQNO6cnYvLoaQeO5VvEn6aI82+A98nlESfcHPRlnKYbJB+dWjisRN2Ox8 zZuWE7Eah40DNhrS0DPLHYvAcSEuvCbr1hgtwUG8xaMp6kUm1HOFHgkTJUPVUozK 8NWHG3IqbydkHmOayKHIgt1eE4pmjoYqj3a9bb3rZO+Lj6M0e7E5DJAJ84zT/9/g 5y5Pzm6ke6b56QV+GIkbcyrPg1QUfumNutXMsUgrHb7jk3BQ== 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 42kgwbfnk4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 31 Oct 2024 19:31:43 +0100 (CET) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 917C14004B; Thu, 31 Oct 2024 19:30:38 +0100 (CET) Received: from Webmail-eu.st.com (shfdag1node3.st.com [10.75.129.71]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 000B7298D11; Thu, 31 Oct 2024 19:26:35 +0100 (CET) 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; Thu, 31 Oct 2024 19:26:35 +0100 From: =?utf-8?q?Torbj=C3=B6rn_SVENSSON?= To: CC: , , =?utf-8?q?Torb?= =?utf-8?q?j=C3=B6rn_SVENSSON?= Subject: [PATCH] testsuite: arm: Use effective-target for pr68620 and pr78041 tests Date: Thu, 31 Oct 2024 19:26:06 +0100 Message-ID: <20241031182605.3072159-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.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 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? --- Tests uses neon, so add effective-target arm_neon. gcc/testsuite/ChangeLog: * gcc.target/arm/pr68620.c: Use effective-target arm_neon. * gcc.target/arm/pr78041.c: Likewise. Signed-off-by: Torbjörn SVENSSON --- gcc/testsuite/gcc.target/arm/pr68620.c | 4 ++-- gcc/testsuite/gcc.target/arm/pr78041.c | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/gcc/testsuite/gcc.target/arm/pr68620.c b/gcc/testsuite/gcc.target/arm/pr68620.c index 91878432b00..b4a44dab6ba 100644 --- a/gcc/testsuite/gcc.target/arm/pr68620.c +++ b/gcc/testsuite/gcc.target/arm/pr68620.c @@ -1,8 +1,8 @@ /* { dg-do compile } */ /* { dg-skip-if "-mpure-code supports M-profile without Neon only" { *-*-* } { "-mpure-code" } } */ -/* { dg-require-effective-target arm_fp_ok } */ +/* { dg-require-effective-target arm_neon_ok } */ /* { dg-options "-mfp16-format=ieee" } */ -/* { dg-add-options arm_fp } */ +/* { dg-add-options arm_neon } */ #include "arm_neon.h" diff --git a/gcc/testsuite/gcc.target/arm/pr78041.c b/gcc/testsuite/gcc.target/arm/pr78041.c index 340ab5cb433..418b7e09fc4 100644 --- a/gcc/testsuite/gcc.target/arm/pr78041.c +++ b/gcc/testsuite/gcc.target/arm/pr78041.c @@ -1,6 +1,7 @@ /* { dg-require-effective-target arm_thumb2_ok } */ /* { dg-require-effective-target arm_neon_ok } */ -/* { dg-options "-fno-inline -mthumb -O1 -mfpu=neon -w" } */ +/* { dg-options "-fno-inline -mthumb -O1 -w" } */ +/* { dg-add-options arm_neon } */ extern void abort (void);