Message ID | b3c052a5-70d2-56e7-226d-5b148924df6b@linux.ibm.com |
---|---|
State | Accepted |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp104312wrs; Tue, 18 Oct 2022 20:20:12 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4dHSy07W5fZ13ufJLZ5vhHoTfa8x7pLisTGktzrFNbCY1YQ0ratBbYg2mxdbY2LwV2hSDs X-Received: by 2002:a05:6402:4511:b0:45c:b2b4:3e69 with SMTP id ez17-20020a056402451100b0045cb2b43e69mr5277314edb.339.1666149612499; Tue, 18 Oct 2022 20:20:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666149612; cv=none; d=google.com; s=arc-20160816; b=XYU5CmhbItl9BopXsC7EnXV4xKA1CbpPxX/0eK8atPodet6vKe6xYTqoo/OwZEuVN4 YD63L7zEPGar3xcdEqmlCyfN3m3iPAG6rRMYPQr+s+1/z7dEQueY+mdIC8O4iX6YEfo9 JRpe06N40FnJjREQvm0pAjLWfPKznLGjyCCOhJHuQY+XYBDir1HTxqQJOxAV4MoFrhSv MeFvzjpiSjeryrtQrvQaFgt5CKa1/br6KvZD/Ra8MPtXkcUebeANduYuxSRXdEhqpLHa wV3qkUOGHCr/WALjI3uQxRRm/gLrX0Sf5paQutUDd8j6H07GwowBwJTnzyuXRgX1pwlh muvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:reply-to:from:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:subject:to:content-language:user-agent :mime-version:date:message-id:dmarc-filter:delivered-to :dkim-signature:dkim-filter; bh=OPesVbp9n4WFOZkQTL63RBqFoRgbRnD0trqrNFdQzmk=; b=A+MLH7EdVWBlah5MH33SmM4FtePjYMsSERDjPr4nE5tSvJLySTLf2cw3RvJSWW4a3r MyRXSDQw4jkCfpnO5m+ssIF+B8WVAMWsT40qT7Gi0r6ZmN0J2JCl+azCCi+Cek0wcDJ1 /EMrHp5d6o2sCEcAfu7WMfYycs7MvT2zrjblwSCDoDcwofcXghNbV3cu23OGQt5+5sl3 N0xnPftWDrgdvJJMyux4V4mWi92SKQZtEocm+8tDnyp3PrCMDjN8aYhagBuI4vdGnUXJ Nk4RDqbWOWwDgmwKsCPClc3HF0QfE2LKN+iVbev46eC0q6HKCzzqBgLOWSe7hoX436Mo 2hPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=osOw1avb; 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 s3-20020a17090699c300b0078e254ae43fsi13947020ejn.787.2022.10.18.20.20.12 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Oct 2022 20:20:12 -0700 (PDT) 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=osOw1avb; 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 9CC9A385701F for <ouuuleilei@gmail.com>; Wed, 19 Oct 2022 03:19:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9CC9A385701F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1666149593; bh=OPesVbp9n4WFOZkQTL63RBqFoRgbRnD0trqrNFdQzmk=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=osOw1avbXUU7O9h66RSCTB43RZVow6aXcNEqb+AEy9DlZOj/oVBkhbvUSnNtDuJZf 93EpKo/AyrKt+Lsi2M017NC/zDdDLJvpM9Mgxdkw0wRsYSLHQsd7w17mi2FRjsK8JI dhaUPs3QENzR0+X9sj1SaCbOWzal6zGrEL77d1aA= 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 EB0DF3858424 for <gcc-patches@gcc.gnu.org>; Wed, 19 Oct 2022 03:19:09 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org EB0DF3858424 Received: from pps.filterd (m0187473.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 29J396RY029610; Wed, 19 Oct 2022 03:19:08 GMT Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3ka8ep9fx1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 19 Oct 2022 03:19:08 +0000 Received: from m0187473.ppops.net (m0187473.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 29J3D0HR001127; Wed, 19 Oct 2022 03:19:08 GMT Received: from ppma06fra.de.ibm.com (48.49.7a9f.ip4.static.sl-reverse.com [159.122.73.72]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3ka8ep9fuj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 19 Oct 2022 03:19:08 +0000 Received: from pps.filterd (ppma06fra.de.ibm.com [127.0.0.1]) by ppma06fra.de.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 29J36l1c002524; Wed, 19 Oct 2022 03:19:05 GMT Received: from b06cxnps4075.portsmouth.uk.ibm.com (d06relay12.portsmouth.uk.ibm.com [9.149.109.197]) by ppma06fra.de.ibm.com with ESMTP id 3k7m4jcttx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 19 Oct 2022 03:19:05 +0000 Received: from b06wcsmtp001.portsmouth.uk.ibm.com (b06wcsmtp001.portsmouth.uk.ibm.com [9.149.105.160]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 29J3J3SO26149410 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 19 Oct 2022 03:19:03 GMT Received: from b06wcsmtp001.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 4300BA4054; Wed, 19 Oct 2022 03:19:03 +0000 (GMT) Received: from b06wcsmtp001.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C74AAA405C; Wed, 19 Oct 2022 03:19:01 +0000 (GMT) Received: from [9.197.229.72] (unknown [9.197.229.72]) by b06wcsmtp001.portsmouth.uk.ibm.com (Postfix) with ESMTP; Wed, 19 Oct 2022 03:19:01 +0000 (GMT) Message-ID: <b3c052a5-70d2-56e7-226d-5b148924df6b@linux.ibm.com> Date: Wed, 19 Oct 2022 11:19:00 +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 <gcc-patches@gcc.gnu.org> Subject: [PATCH] rs6000/test: Support vect_long_long effective target Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: ohqpWCrgoGZ74oqjkDq-mms7Cw94tEBI X-Proofpoint-GUID: NOKGm-CnN5fdBpDsZY7M03ItmwnuQDkQ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-10-18_10,2022-10-18_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 mlxlogscore=999 spamscore=0 mlxscore=0 lowpriorityscore=0 adultscore=0 phishscore=0 priorityscore=1501 malwarescore=0 bulkscore=0 suspectscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2209130000 definitions=main-2210190015 X-Spam-Status: No, score=-11.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_EF, GIT_PATCH_0, 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 <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> From: "Kewen.Lin via Gcc-patches" <gcc-patches@gcc.gnu.org> Reply-To: "Kewen.Lin" <linkw@linux.ibm.com> Cc: Peter Bergner <bergner@linux.ibm.com>, David Edelsohn <dje.gcc@gmail.com>, Segher Boessenkool <segher@kernel.crashing.org> Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747084496064236209?= X-GMAIL-MSGID: =?utf-8?q?1747084496064236209?= |
Series |
rs6000/test: Support vect_long_long effective target
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | success | Github commit url |
Commit Message
Kewen.Lin
Oct. 19, 2022, 3:19 a.m. UTC
Hi, Currently effective target vect_long_long doesn't have power specific check, I think it's an oversight. This is to add the support which checks for has_arch_pwr8, since we set rs6000_vector_unit[V2DImode] as: (TARGET_P8_VECTOR) ? VECTOR_P8_VECTOR : VECTOR_NONE; it means its full support starts from ISA 2.07. Although ISA 2.06 has some instructions like lxvd2x and stxvd2x etc., it's used for testing, checking for ISA 2.07 is more sensitive. Tested well on powerpc64-linux-gnu P7 and P8, as well as powerpc64le-linux-gnu P9 and P10. As testing results show, it adds some testing coverage. I'm going to push this soon if no objections. BR, Kewen ----- gcc/testsuite/ChangeLog: * lib/target-supports.exp (check_effective_target_vect_long_long): Add support for powerpc*-*-*. --- gcc/testsuite/lib/target-supports.exp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index fdd88e6a516..5eb7743b53a 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -7059,7 +7059,10 @@ proc check_effective_target_vect_long_long { } { || ([istarget mips*-*-*] && [et-is-effective-target mips_msa]) || ([istarget s390*-*-*] - && [check_effective_target_s390_vx]) }}] + && [check_effective_target_s390_vx]) + || ([istarget powerpc*-*-*] + && ![istarget powerpc-*-linux*paired*] + && [check_effective_target_has_arch_pwr8]) }}] }