From patchwork Wed Mar 1 05:54:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Kewen.Lin" X-Patchwork-Id: 62762 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp3454817wrd; Tue, 28 Feb 2023 21:55:22 -0800 (PST) X-Google-Smtp-Source: AK7set/AHadiuxF8pWc19WiY/CNZ4iYn4Z1KQr2Lq4MbZ1jLvpNxnFO3lViOt7GKTlcJpD8Egb6Z X-Received: by 2002:a17:906:274b:b0:8af:a53a:189d with SMTP id a11-20020a170906274b00b008afa53a189dmr4716923ejd.44.1677650122887; Tue, 28 Feb 2023 21:55:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677650122; cv=none; d=google.com; s=arc-20160816; b=pZTlKQajVPY1etXktn1xy5b1efZC2f4Y21kWxrK9goY/8W/7cQiuVev3PIWM/WLJp4 MeFZDg7jApMYRaNu2zg4B/BSDkilWbBAvuTPuO1xOR7OtA4pPTG6DFFACubfiEXhGmte /j1Ug/zqmjLuA3buWWFcVpmhjEqxq4P7EZfY1iC6G/0vl5P9d5ktuswTbiQFiqpOCZEQ nQueWXw6LiQIGn079ESWrE2sl7eEeAdidwFV1WiixweI/ACUALqpqkza2WGnKncHu9BW /iMX2SEqlXjtAtC2OYFfSMY5nliBtQaBviHgVBwlqHbTJG9Qqx+dnqslLvpXdMNkZ2Le pWmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:subject:cc:to:content-language:user-agent :mime-version:date:message-id:dmarc-filter:delivered-to :dkim-signature:dkim-filter; bh=QESIg1D08H3VncvvxnbVfPSyQXxQuTayO6FBFdl9wQw=; b=K2lYHekzb7glMi74gAI9wloxUqPLBLZKJER8ylsDI1gjUj9ECDuJOoQXKOCuT89lM4 2f1sfIrDEgaq+N/DH53XNz7TRSSOjccppJE8rCc9bjQY1JgXTGumyB1qPo6ZBSvlYO/i q+M5KElB4jw3Vn1D17SP2GuuzPU42dqK+BRLJFJQN2aFTfICHYXjwCDXCFWbqdctZYeI Uj1rDv5PIFKUArbCzUdtyvtkAPTyj2eFa1i0R+3fAgCpSZ0XvvgVtobi5ez/ouhbEsdG QMH1HVsvS6hnogL5RREvgdkbZZXCP6/HxOaq/4Vt7XqEXlrh1ELicB0RAnn5aNUd7or0 X0Jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=RJ5CpUPa; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id jy6-20020a170907762600b008b7eed5fa18si11643629ejc.986.2023.02.28.21.55.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Feb 2023 21:55:22 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=RJ5CpUPa; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id ADF1D3858C5E for ; Wed, 1 Mar 2023 05:55:21 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org ADF1D3858C5E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1677650121; bh=QESIg1D08H3VncvvxnbVfPSyQXxQuTayO6FBFdl9wQw=; h=Date:To:Cc:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=RJ5CpUPayc9TuYmEHw3yVOnFxKbVLlTbtqHg7P99q2rRHrDMzS8T+Lr8djDFvEfb5 DQCYPuwjc+/irmF3e//03m1wtdAd66g/ginoFClUCLAVvcxpIUWCsLj69YIT1oRaEE h0GN20tBS2C4A8DlA9YbdIB9+9LNPqwmeiIt8/TU= 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 99C443858D33 for ; Wed, 1 Mar 2023 05:54:32 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 99C443858D33 Received: from pps.filterd (m0098396.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3214BrKR011444; Wed, 1 Mar 2023 05:54:31 GMT Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3p1yfh1ym9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 01 Mar 2023 05:54:30 +0000 Received: from m0098396.ppops.net (m0098396.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 3215INSD011075; Wed, 1 Mar 2023 05:54:30 GMT Received: from ppma04fra.de.ibm.com (6a.4a.5195.ip4.static.sl-reverse.com [149.81.74.106]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3p1yfh1ykp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 01 Mar 2023 05:54:30 +0000 Received: from pps.filterd (ppma04fra.de.ibm.com [127.0.0.1]) by ppma04fra.de.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 31SM1nUG027528; Wed, 1 Mar 2023 05:54:28 GMT Received: from smtprelay02.fra02v.mail.ibm.com ([9.218.2.226]) by ppma04fra.de.ibm.com (PPS) with ESMTPS id 3nybab2yrq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 01 Mar 2023 05:54:27 +0000 Received: from smtpav07.fra02v.mail.ibm.com (smtpav07.fra02v.mail.ibm.com [10.20.54.106]) by smtprelay02.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 3215sPTW7143940 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 1 Mar 2023 05:54:25 GMT Received: from smtpav07.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 7F5CC2004D; Wed, 1 Mar 2023 05:54:25 +0000 (GMT) Received: from smtpav07.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 0092520043; Wed, 1 Mar 2023 05:54:24 +0000 (GMT) Received: from [9.197.236.209] (unknown [9.197.236.209]) by smtpav07.fra02v.mail.ibm.com (Postfix) with ESMTP; Wed, 1 Mar 2023 05:54:23 +0000 (GMT) Message-ID: Date: Wed, 1 Mar 2023 13:54:22 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Content-Language: en-US To: GCC Patches Cc: Segher Boessenkool , David Edelsohn , Peter Bergner Subject: [PATCH] rs6000/test: Adjust two bfp test cases with has_arch_ppc64 [PR108729] X-TM-AS-GCONF: 00 X-Proofpoint-GUID: 1MZCGZKE0O5yhFMGeRGf1XZuJX07wvyO X-Proofpoint-ORIG-GUID: NFPbfjJi9zyS3p6A_yAs9bCt_mZh38KM X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-01_02,2023-02-28_03,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 phishscore=0 adultscore=0 impostorscore=0 clxscore=1015 lowpriorityscore=0 suspectscore=0 mlxlogscore=994 mlxscore=0 bulkscore=0 priorityscore=1501 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2303010042 X-Spam-Status: No, score=-11.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_EF, GIT_PATCH_0, KAM_SHORT, 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.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: "Kewen.Lin via Gcc-patches" From: "Kewen.Lin" Reply-To: "Kewen.Lin" Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759143655570759686?= X-GMAIL-MSGID: =?utf-8?q?1759143655570759686?= Hi, Two test cases scalar-test-data-class-12.c and vec-test-data-class-9.c fail on Power9 BE testing at -m32, they adopts a built-in function scalar_insert_exp which requires powerpc64 support. This patch is to make them to check has_arch_ppc64 effective target requirement. Tested on powerpc64-linux-gnu P7/P8/P9 and powerpc64le-linux-gnu P9/P10. I'm going to push this soon if no objections. BR, Kewen ----- gcc/testsuite/ChangeLog: * gcc.target/powerpc/bfp/scalar-test-data-class-12.c: Adjust with has_arch_ppc64 effective target. * gcc.target/powerpc/bfp/vec-test-data-class-9.c: Likewise. --- gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-12.c | 1 + gcc/testsuite/gcc.target/powerpc/bfp/vec-test-data-class-9.c | 1 + 2 files changed, 2 insertions(+) -- 2.39.2 diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-12.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-12.c index f7f41419810..08f2720e5b4 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-12.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-12.c @@ -1,4 +1,5 @@ /* { dg-do run { target { powerpc*-*-* } } } */ +/* { dg-require-effective-target has_arch_ppc64 } */ /* { dg-require-effective-target p9vector_hw } */ /* { dg-options "-mdejagnu-cpu=power9" } */ diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/vec-test-data-class-9.c b/gcc/testsuite/gcc.target/powerpc/bfp/vec-test-data-class-9.c index aeb64fbf122..c803617b5d3 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/vec-test-data-class-9.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/vec-test-data-class-9.c @@ -1,4 +1,5 @@ /* { dg-do run { target { powerpc*-*-* } } } */ +/* { dg-require-effective-target has_arch_ppc64 } */ /* { dg-require-effective-target p9vector_hw } */ /* { dg-options "-mdejagnu-cpu=power9" } */