From patchwork Fri Jun 21 16:15:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carl Love X-Patchwork-Id: 1950909 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=i996v5+N; 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 4W5Q7Y537jz20X4 for ; Sat, 22 Jun 2024 03:58:01 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id ED44B3830B54 for ; Fri, 21 Jun 2024 17:57:59 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by sourceware.org (Postfix) with ESMTPS id 00E7F38319D5 for ; Fri, 21 Jun 2024 17:57:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 00E7F38319D5 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 00E7F38319D5 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=148.163.156.1 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1718992659; cv=none; b=WSIjXkLBXbhCwk58U7SbQTmzr3yyePsCY2FmNLbtN70TI2noagWs9GOytUFxIECvf1ngGaFckAGRBWUkBqWa8oPOo4PSq5Z9CY7n54CLfyMIN5U/6PyX1rsOJ+ada6gm64OZMY15f2Z89KUvkMimSpm8FdW/aEi7KyOg5BSWoZ4= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1718992659; c=relaxed/simple; bh=CHvaBaUln+G0+HIK0XkyllciTpq3j6wcm9C48YW+joY=; h=DKIM-Signature:Message-ID:Date:MIME-Version:To:From:Subject; b=EfhYhpz+dvN2NDiY5MLFXpLLe8e27hNLyeqXEf9hKYstvq6cdxmKr5D6cc8tZWJxB2g50TW1f3rl52V36aVSH5gDHB/lOiy041/rxo440f4PfbQjmuV/d/mk24SHuAzyf6ZeBcf72a236B2xJYmjAp4/m8hKGbA9py+hmmMP5m8= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from pps.filterd (m0353727.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 45LG2WFS022880; Fri, 21 Jun 2024 16:15:26 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=jd2ImOKKFK2FD8CMvL5TJJYXdz 4tf9+w+t6VhUE8+QQ=; b=i996v5+NwpBa80CScS3Sl3uViTn0Zr36B3rir3jPb+ gtmqdHncgZvY4rQl9ReM66Kd6gV1ywAysa1Pi8dqC79g5wDOkz6NZOUdORPM8rM8 inhLw4VE/GugDQp1HTaRKr4E1To5RoYaJLJNbJ7l3M6m6UQ00r7X8PiSDFdxoBxu NbzOGFuKihMWoS6QEvxGcoyCIkQOjDIbUgpo0YYQbxVOlzP6JXfQ6jFL61oEM58n jK2VmAuwo5M5ZsDJn+tYLYHawjf+UA2WG1/syb5bM0REqkhnNyI7HDJfYU/eMzSA ylgnQimx+NOfyra7/SFrc6qufPH75T0jwQyICz4yDUIw== 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 3ywavkgc5t-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 21 Jun 2024 16:15:26 +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 45LFlp93007687; Fri, 21 Jun 2024 16:15:25 GMT Received: from smtprelay01.wdc07v.mail.ibm.com ([172.16.1.68]) by ppma12.dal12v.mail.ibm.com (PPS) with ESMTPS id 3yvrspg2he-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 21 Jun 2024 16:15:25 +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 45LGFLX447055574 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 21 Jun 2024 16:15:23 GMT Received: from smtpav04.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 8838758060; Fri, 21 Jun 2024 16:15:21 +0000 (GMT) Received: from smtpav04.wdc07v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B305158052; Fri, 21 Jun 2024 16:15:20 +0000 (GMT) Received: from [9.67.67.158] (unknown [9.67.67.158]) by smtpav04.wdc07v.mail.ibm.com (Postfix) with ESMTP; Fri, 21 Jun 2024 16:15:20 +0000 (GMT) Message-ID: <263e2951-de3c-4ae7-aab0-ed3ccd313385@linux.ibm.com> Date: Fri, 21 Jun 2024 09:15:19 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: gcc-patches@gcc.gnu.org, "bergner@linux.ibm.com" , Segher Boessenkool , "Kewen.Lin" , Carl Love From: Carl Love Subject: [PATCH version 2] rs6000, altivec-1-runnable.c update the, require-effective-target X-TM-AS-GCONF: 00 X-Proofpoint-GUID: NKiUgUvWiQkELtFE-BPGHk37ap6clOVA X-Proofpoint-ORIG-GUID: NKiUgUvWiQkELtFE-BPGHk37ap6clOVA 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-21_07,2024-06-21_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 phishscore=0 impostorscore=0 adultscore=0 clxscore=1015 priorityscore=1501 bulkscore=0 spamscore=0 mlxlogscore=780 mlxscore=0 lowpriorityscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2406140001 definitions=main-2406210116 X-Spam-Status: No, score=-10.4 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 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 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gcc/testsuite/gcc.target/powerpc/altivec-1-runnable.c b/gcc/testsuite/gcc.target/powerpc/altivec-1-runnable.c index da8ebbc30ba..3f084c91798 100644 --- a/gcc/testsuite/gcc.target/powerpc/altivec-1-runnable.c +++ b/gcc/testsuite/gcc.target/powerpc/altivec-1-runnable.c @@ -1,6 +1,7 @@ -/* { dg-do compile { target powerpc*-*-* } } */ -/* { dg-require-effective-target powerpc_altivec_ok } */ -/* { 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