From patchwork Mon Jun 24 19:00:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carl Love X-Patchwork-Id: 1951989 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=ibm.com header.i=@ibm.com header.a=rsa-sha256 header.s=pp1 header.b=mS2u/mI3; 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 4W7dF44RmQz20X6 for ; Tue, 25 Jun 2024 18:25:28 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id CCBC1386C5BD for ; Tue, 25 Jun 2024 08:25:26 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by sourceware.org (Postfix) with ESMTPS id 53F2E3858420 for ; Tue, 25 Jun 2024 08:25:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 53F2E3858420 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=linux.ibm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linux.ibm.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 53F2E3858420 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=148.163.158.5 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1719303903; cv=none; b=vPFM+3bxAdOMFAsJMBLtDzP1/nvCVyrkIvaZ5dqZw8ru8rOpUpxnD1/D493Ij71Bv/Oo8EfIdofQNBVl9kRX4D9pB9UBoItqyx3lEm+Z/9oRIGBA/GLboUCais4iugWH5DkP6p1Y6NdLbHI6qP/supCwaNA3nrQK4RIHXDn4jEw= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1719303903; c=relaxed/simple; bh=QoXszesMfzBd+gpWc5xoax30KdSBvyi3B7TPX8TLWU8=; h=DKIM-Signature:Message-ID:Date:MIME-Version:To:From:Subject; b=mVAOPo56kyVjcIMq823YP3LNsgh2YCvqDsQ6JJGMJ75B5rCRm0/GLggLJV1va1ppjrE1Oh8IP+1VtgLgWxdpaN0OsEVORM53U28i15XDyVqgoWfbv5zc/qUX2Pww6FsS9YjDP1O7MmoOIpcTVhjkETvG5OQmvzGEljPZOclZ1og= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from pps.filterd (m0360072.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 45OIWUNW023322; Mon, 24 Jun 2024 19:01:06 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h= message-id:date:mime-version:to:from:subject:content-type :content-transfer-encoding; s=pp1; bh=I1Ua03yGVPEBpBfo9KloQtilDh FbsQ34evg9zvCyThk=; b=mS2u/mI3cQq5v6ErNHSUq/cSa1JJan1g510l6WFOgS 5BnBDhx/gVadF6plHr+wDZLs8EXkfa1XK6+OZAioJhiJ7myygrhprat2UlFwX90b i5mX6bjVzW0WfgFqybiiQBLnZBhAk84YJtXyFJL26K7FVsysVf5iagcCErM9sbkR Qw6jrG4sNIWaeJptN+akAJnz4+oWuQXnFZiDjQb5HJp4ye1YAFbl6cPv6apBsBHy OcTlEIk0fqI6VODmGN/n5q/hK7e3E+jr8BcZTOnMPiQZTk7KsiHIgcZMEBLDAUIN YX6GuPbxaoJZsfoquD38VuczzyO1Nj6J1hQ57GplEjWg== Received: from ppma12.dal12v.mail.ibm.com (dc.9e.1632.ip4.static.sl-reverse.com [50.22.158.220]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3yydp4r568-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 24 Jun 2024 19:01:05 +0000 (GMT) Received: from pps.filterd (ppma12.dal12v.mail.ibm.com [127.0.0.1]) by ppma12.dal12v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 45OIlvEh018096; Mon, 24 Jun 2024 19:01:05 GMT Received: from smtprelay01.wdc07v.mail.ibm.com ([172.16.1.68]) by ppma12.dal12v.mail.ibm.com (PPS) with ESMTPS id 3yx8xu2kw9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 24 Jun 2024 19:01:05 +0000 Received: from smtpav04.wdc07v.mail.ibm.com (smtpav04.wdc07v.mail.ibm.com [10.39.53.231]) by smtprelay01.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 45OJ11Sd21955098 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 24 Jun 2024 19:01:03 GMT Received: from smtpav04.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 736D858061; Mon, 24 Jun 2024 19:01:01 +0000 (GMT) Received: from smtpav04.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 961F658056; Mon, 24 Jun 2024 19:01:00 +0000 (GMT) Received: from [9.67.67.158] (unknown [9.67.67.158]) by smtpav04.wdc07v.mail.ibm.com (Postfix) with ESMTP; Mon, 24 Jun 2024 19:01:00 +0000 (GMT) Message-ID: <0ec6b1ad-1305-4857-942b-c49f24d52761@linux.ibm.com> Date: Mon, 24 Jun 2024 12:00:59 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: gcc-patches@gcc.gnu.org, "Kewen.Lin" , "bergner@linux.ibm.com" , Segher Boessenkool , Carl Love From: Carl Love Subject: [PATCH ver3] rs6000, altivec-1-runnable.c update the, require-effective-target X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: NdGBH82bH0GLWeBuqXYAUSfldD3tJoWF X-Proofpoint-GUID: NdGBH82bH0GLWeBuqXYAUSfldD3tJoWF 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-06-24_15,2024-06-24_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 impostorscore=0 spamscore=0 suspectscore=0 priorityscore=1501 malwarescore=0 lowpriorityscore=0 phishscore=0 clxscore=1015 bulkscore=0 mlxlogscore=812 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2406140001 definitions=main-2406240150 X-Spam-Status: No, score=-10.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_EF, GIT_PATCH_0, KAM_SHORT, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP 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 GCC maintainers: version 3, rebased on current mainline tree. Version 2 of the patch was out of sync. Retested the patch on Power 10 with no regressions. version 2, update the dg options per the feedback. Retested the patch on Power 10 with no regressions. This patch updates the dg options. The patch has been tested on Power 10 with no regression failures. Please let me know if this patch is acceptable for mainline. Thanks. Carl ------------------------------------------------------------ rs6000, altivec-1-runnable.c update the require-effective-target Update the dg test directives. gcc/testsuite/ChangeLog:gcc/testsuite/ChangeLog: * gcc.target/powerpc/altivec-1-runnable.c: Change the require-effective-target for the test. --- gcc/testsuite/gcc.target/powerpc/altivec-1-runnable.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/gcc.target/powerpc/altivec-1-runnable.c b/gcc/testsuite/gcc.target/powerpc/altivec-1-runnable.c index 4e32860a169..6763ff3ff8b 100644 --- a/gcc/testsuite/gcc.target/powerpc/altivec-1-runnable.c +++ b/gcc/testsuite/gcc.target/powerpc/altivec-1-runnable.c @@ -1,7 +1,9 @@ -/* { dg-do compile { target powerpc*-*-* } } */ -/* { dg-options "-maltivec" } */ +/* { dg-do run { target vmx_hw } } */ +/* { dg-do compile { target { ! vmx_hw } } } */ +/* { dg-options "-O2 -maltivec" } */ /* { dg-require-effective-target powerpc_altivec } */ + #include #ifdef DEBUG