From patchwork Wed Mar 1 05:55:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Kewen.Lin" X-Patchwork-Id: 62763 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp3455019wrd; Tue, 28 Feb 2023 21:56:08 -0800 (PST) X-Google-Smtp-Source: AK7set/9yrix4swMnbwcexh5xTw64gPvVv7DGTukwO/N9UF4PEWCRS9gJ03hMTNBdx1sQtMiLKz4 X-Received: by 2002:a17:906:5db2:b0:8f5:2e0e:6dd4 with SMTP id n18-20020a1709065db200b008f52e0e6dd4mr6536499ejv.15.1677650168129; Tue, 28 Feb 2023 21:56:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677650168; cv=none; d=google.com; s=arc-20160816; b=vSvxpSva9gfnGQwr4ns8abd96b+DZ36LPiynpTyEi8qJT1DF5/To8qOklJ/wGtH8OL x0sj3aXZ2QFN6v4cmy82HP6UBBDsaW7a6ztjjrZJuLw0cZfNaptBvIrffE6VBUOtNsOT yU680VCC5ERO1XO7lSVnck5yJ/urimasDC8ZaP1evv/lRn4wtN0oazkMoQXOhImBwti/ erx7Gs3BB4t5ZLRf03yRs61Yoj+KIEsDJzYlj6Gm3GPBylZT5M+oWwskoS180ebez4r5 lPfYZftvol9zh9zKOpqEOWVVqb23VSXysXoNf9h3n2eCbvo53IibRYmtCYwyPupLzzd6 X27g== 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:cc:to:subject:content-language:user-agent :mime-version:date:message-id:dmarc-filter:delivered-to :dkim-signature:dkim-filter; bh=k80zg6twv5AH/4O5HUrmfivr7DFtL2e4/wlBl+ZtvZA=; b=Qwmu518ahjDT2FnYR26/dABIXRQoalg3ecg4rKYdVOtkRUYTjW1JCsDfdk/4UBEnc+ KVfEwLmO1lnCoKpilVYW9tOE5cfgPvbm36E7W9QFaMkv9Kv1Z9xgRGjYp7Qu+G1H7j6g S9F3iEBEyj0QCKhZrNyYU3Nx3+krNxEbIMi4xb/WLYgltLjczldpSLG322FVMDKl2cv6 ufrdn9jX5ykKW8Qg07D/3BBqmdrJBtbNdoaaiOh7emqm+gE/U2JpdF3lQwJQ8V5ELs6F CyBTqF+I1keBJ/dU1V6jMbm8qIDZHZ+tZp9FJJ05BZEcFF+TddTxJ9FGbTqJu2Lg/uEW xBrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=rYi60AvV; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 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 (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id p19-20020a170906229300b008ded956ef67si14500767eja.790.2023.02.28.21.56.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Feb 2023 21:56:08 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=rYi60AvV; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 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 344363858C62 for ; Wed, 1 Mar 2023 05:56:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 344363858C62 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1677650167; bh=k80zg6twv5AH/4O5HUrmfivr7DFtL2e4/wlBl+ZtvZA=; h=Date:Subject:To:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=rYi60AvVAXl+sfd/LbTGWb/+qaQyQS41ECz5BqlIaOjL3++zAOirRrt2Rt9vNapbJ QtrCv6ARg/9tI4mtmcuvzFODW35O9oDEW9JVs5xHrsBg0BMM7lu6wYBuFQTuAxRyB+ l6nhuoHp5oui413jJtd08APg+y384GixndYrvXao= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by sourceware.org (Postfix) with ESMTPS id 5E62E3858436 for ; Wed, 1 Mar 2023 05:55:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5E62E3858436 Received: from pps.filterd (m0098419.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3215IbLb009348; Wed, 1 Mar 2023 05:55:17 GMT Received: from pps.reinject (localhost [127.0.0.1]) by mx0b-001b2d01.pphosted.com (PPS) with ESMTPS id 3p20em0ngu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 01 Mar 2023 05:55:16 +0000 Received: from m0098419.ppops.net (m0098419.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 3215p5jt025190; Wed, 1 Mar 2023 05:55:16 GMT Received: from ppma03fra.de.ibm.com (6b.4a.5195.ip4.static.sl-reverse.com [149.81.74.107]) by mx0b-001b2d01.pphosted.com (PPS) with ESMTPS id 3p20em0ng9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 01 Mar 2023 05:55:16 +0000 Received: from pps.filterd (ppma03fra.de.ibm.com [127.0.0.1]) by ppma03fra.de.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 3210iRDQ010220; Wed, 1 Mar 2023 05:55:14 GMT Received: from smtprelay07.fra02v.mail.ibm.com ([9.218.2.229]) by ppma03fra.de.ibm.com (PPS) with ESMTPS id 3nybbdjyd8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 01 Mar 2023 05:55:14 +0000 Received: from smtpav07.fra02v.mail.ibm.com (smtpav07.fra02v.mail.ibm.com [10.20.54.106]) by smtprelay07.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 3215tC5463046124 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 1 Mar 2023 05:55:12 GMT Received: from smtpav07.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 13FE12004B; Wed, 1 Mar 2023 05:55:12 +0000 (GMT) Received: from smtpav07.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 85DBD20043; Wed, 1 Mar 2023 05:55:10 +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:55:10 +0000 (GMT) Message-ID: <3d617c32-0601-36d8-259a-d63ab15cf986@linux.ibm.com> Date: Wed, 1 Mar 2023 13:55:08 +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 Subject: [PATCH] rs6000/test: Adjust scalar-test-neg-8.c with lp64 [PR108730] To: GCC Patches Cc: Segher Boessenkool , David Edelsohn , Peter Bergner X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: f7WjIf4ZdUUJOwwZgUCIUBnVyJiY4MhU X-Proofpoint-GUID: q62W7Qu7_aiz08O9UGtJPTgF_CNN9qmC 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 impostorscore=0 phishscore=0 mlxlogscore=999 malwarescore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 suspectscore=0 adultscore=0 priorityscore=1501 bulkscore=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, RCVD_IN_MSPIKE_H2, 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?1759143702601053910?= X-GMAIL-MSGID: =?utf-8?q?1759143702601053910?= Hi, The built-in function scalar_test_neg_qp is under stanza ieee128-hw, that is TARGET_FLOAT128_HW. Since we don't have float128 hardware support on 32-bit as follows: if (TARGET_FLOAT128_HW && !TARGET_64BIT) { if ((rs6000_isa_flags_explicit & OPTION_MASK_FLOAT128_HW) != 0) error ("%qs requires %qs", "%<-mfloat128-hardware%>", "-m64"); rs6000_isa_flags &= ~OPTION_MASK_FLOAT128_HW; } So adjust the case with lp64 effective target accordingly. 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 ----- PR testsuite/108730 gcc/testsuite/ChangeLog: * gcc.target/powerpc/bfp/scalar-test-neg-8.c: Adjust with lp64 effective target requirement. --- gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-neg-8.c | 1 + 1 file changed, 1 insertion(+) -- 2.39.2 diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-neg-8.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-neg-8.c index 02dfa348b81..2ef512cd8d0 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-neg-8.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-neg-8.c @@ -1,4 +1,5 @@ /* { dg-do run { target { powerpc*-*-* } } } */ +/* { dg-require-effective-target lp64 } */ /* { dg-require-effective-target p9vector_hw } */ /* { dg-options "-mdejagnu-cpu=power9" } */