From patchwork Wed Mar 1 05:56:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Kewen.Lin" X-Patchwork-Id: 62766 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp3455567wrd; Tue, 28 Feb 2023 21:57:55 -0800 (PST) X-Google-Smtp-Source: AK7set+YohKPXzzqOKRDdnt8embYTq/sBExqovs50+KzNAtteuIA/QbKqptGuEdPwp5olRLoIYB6 X-Received: by 2002:a17:907:628a:b0:8f3:f976:ac13 with SMTP id nd10-20020a170907628a00b008f3f976ac13mr6564476ejc.10.1677650275563; Tue, 28 Feb 2023 21:57:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677650275; cv=none; d=google.com; s=arc-20160816; b=a8BVgsiuYchv26yjQRvMAhBBcQP2rKiuA87oMNIWLx5TrvGfgRHgYkj2kCb1SwZX4K cryojZdVvVp26V6FlsGWbcnweDPnVnnD38TCcVEx3Vgb31b29PmoaOCbTrFe/w/RxC3x kAVHl+p23u/0kTbXsEA3Zw8KvSQ1rdrUHy2C4aXXW1bNmHHkM7BkvBKGHWEATDpLAYAW 8Z8fZ+rTmNu6f/WSr7NkMOPVjZLE24DFh2jMsPB0T7hAhvzEuShrAMK4Yj7/KuUpxw11 YUcl/xrJTMnCMFDS2ZynL/qO9dUkeq46S/d/1rD7omK+LakwMcdxzomakrzRczNe29tg e6gA== 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=pZ6yXAdS+TmjFcJo79FWi5Y3kJlTbfi9ZwH62hMGi4E=; b=jiMxZqsKv4iUPQD/sOYulbWO3lAQu9iY2KfQ2gA7YTJncg67bWPGEF0WOiPai19JNa bUJC5pe0UhWgSzEzxS1AudeAXm2RKBVKpuOwuUI5xwI9ugm34phM+dpruhboQUILA2xq 1yI9SQzwdyJuC4epxpW2EGDMkNzRu2u5CIEIFROB/wBYz9R6eooR4T3NwN/lQYaf7b6h cqtc4w4PJew/Y/xjmSC1dClheHfBN4Hs1Js3c54eDNFnpswDHcREz11X7V0XQD5HKI0F mmQ1J8ATPKQTR5dSVKj8IjPlZfp+i2IU+FgWOo/lyxnx4ZVrqjqRFQiE7eku40k+t47I qDog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=a0SZHNEw; 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 v14-20020a170906858e00b008cbb481fc7asi12968000ejx.614.2023.02.28.21.57.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Feb 2023 21:57:55 -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=a0SZHNEw; 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 774A43858408 for ; Wed, 1 Mar 2023 05:57:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 774A43858408 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1677650266; bh=pZ6yXAdS+TmjFcJo79FWi5Y3kJlTbfi9ZwH62hMGi4E=; h=Date:Subject:To:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=a0SZHNEwLsG38a7acEM5GbjryTTRgYEQXGfsF5ETYpbwa2ZpGXyZZHeh/EgM3UR0x LKZ/oFBCkVOvQokRWlpKTGYioPU3DM3Tx/qpFFJyPi0vWdexNsITHoxBZKRlsS7dro 0pVOh3pUAfIWTF8YZV8VQHC09idCams1khIwx8ag= 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 AE56C38582AB for ; Wed, 1 Mar 2023 05:56:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org AE56C38582AB Received: from pps.filterd (m0098421.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 321489gg008330; Wed, 1 Mar 2023 05:56:57 GMT Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3p1ydj220j-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 01 Mar 2023 05:56:57 +0000 Received: from m0098421.ppops.net (m0098421.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 3215uupn007472; Wed, 1 Mar 2023 05:56:56 GMT Received: from ppma02fra.de.ibm.com (47.49.7a9f.ip4.static.sl-reverse.com [159.122.73.71]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3p1ydj2201-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 01 Mar 2023 05:56:56 +0000 Received: from pps.filterd (ppma02fra.de.ibm.com [127.0.0.1]) by ppma02fra.de.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 31SH2irP011251; Wed, 1 Mar 2023 05:56:55 GMT Received: from smtprelay01.fra02v.mail.ibm.com ([9.218.2.227]) by ppma02fra.de.ibm.com (PPS) with ESMTPS id 3nybe2jyex-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 01 Mar 2023 05:56:54 +0000 Received: from smtpav07.fra02v.mail.ibm.com (smtpav07.fra02v.mail.ibm.com [10.20.54.106]) by smtprelay01.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 3215upCi5178022 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 1 Mar 2023 05:56:52 GMT Received: from smtpav07.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id DF9F32004D; Wed, 1 Mar 2023 05:56:51 +0000 (GMT) Received: from smtpav07.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 5D93C20040; Wed, 1 Mar 2023 05:56:50 +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:56:50 +0000 (GMT) Message-ID: <4218a26e-d277-01b7-a7cd-a9d2f7cc6ba8@linux.ibm.com> Date: Wed, 1 Mar 2023 13:56:48 +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-data-class-1[45].c with int128 To: GCC Patches Cc: Segher Boessenkool , Peter Bergner , David Edelsohn X-TM-AS-GCONF: 00 X-Proofpoint-GUID: F8ynKrWU35Gml65f50CRyV521V4J6Noy X-Proofpoint-ORIG-GUID: cho6dJMmQp81jxFcRn5i-828v6nKRRgg 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 clxscore=1015 adultscore=0 priorityscore=1501 phishscore=0 lowpriorityscore=0 malwarescore=0 mlxlogscore=999 spamscore=0 suspectscore=0 impostorscore=0 mlxscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2303010042 X-Spam-Status: No, score=-11.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_EF, GIT_PATCH_0, KAM_NUMSUBJECT, 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?1759143815370433460?= X-GMAIL-MSGID: =?utf-8?q?1759143815370433460?= Hi, Test cases scalar-test-data-class-1[45].c adopts type __int128 which requires to check int128 effective target, otherwise the testing on them will fail at -m32. This patch is to add int128 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-14.c: Adjust with int128 effective target requirement. * gcc.target/powerpc/bfp/scalar-test-data-class-15.c: Likewise. --- gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-14.c | 1 + gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-15.c | 1 + 2 files changed, 2 insertions(+) -- 2.39.2 diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-14.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-14.c index 84c610de5de..5c3e07c8108 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-14.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-14.c @@ -1,4 +1,5 @@ /* { dg-do run { target { powerpc*-*-* } } } */ +/* { dg-require-effective-target int128 } */ /* { dg-require-effective-target p9vector_hw } */ /* { dg-options "-mdejagnu-cpu=power9" } */ diff --git a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-15.c b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-15.c index a8b5a34ba8a..2be5d1b18b6 100644 --- a/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-15.c +++ b/gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-15.c @@ -1,4 +1,5 @@ /* { dg-do run { target { powerpc*-*-* } } } */ +/* { dg-require-effective-target int128 } */ /* { dg-require-effective-target p9vector_hw } */ /* { dg-options "-mdejagnu-cpu=power9" } */