Message ID | 9c5c7fe6-e6bb-4724-79d7-224cf1bb385e@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:5915:0:0:0:0:0 with SMTP id v21csp3455457wrd; Tue, 28 Feb 2023 21:57:30 -0800 (PST) X-Google-Smtp-Source: AK7set+e8X2POvN6RK9zj3mk1q5+mCNR+rr7RSVTUp7teyRLtw+Q3KUJ6eCpXMHyoFB1eu4apnGj X-Received: by 2002:a17:906:d191:b0:8b1:3225:66f0 with SMTP id c17-20020a170906d19100b008b1322566f0mr5253820ejz.68.1677650249926; Tue, 28 Feb 2023 21:57:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677650249; cv=none; d=google.com; s=arc-20160816; b=BN3WWm+9wgkCFdrYkYPcuUBR6zbwK2taOcJTcCS4guS/aj0CG6DZWI0DLBcBChgbRF T2MwbwJhjN6EjnXdxE4t4vkT5cc74R98YXW4f1t90JX8ZfT/yAGT1GL4q45z7YePbZwa 3lndMoUHzAvfoT2lvTDTg+e/IXiUFNlej839KDhyR+tK/tX/SM3gAfYU36WHSx9S+Wn6 hLupxfyLNHKxpwbpp74gWIPRgSSAVYfWR09l6e3Tt/au1pV23JVJKKO7qqdSTMldQXAz AMUBLbpaUyJ/Xtdf9oSdjY01fh3uD94vWmc4fhB1uhMGpMQYVaLd3CGD8cUyaKm3iTQV jEqA== 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=JjDW4edOH78zuQmyLMcODC8hqugQdl+lyJdrYIwsEyQ=; b=W4BqQK3pDQV3MqqCned8NlqQmjFizerDOcBhfI179u1ZhrkmOz6I/Qj+4K28mdqHF/ Hmm/n2M2gmtazeLaymYS4yKT+Fp0Zs9XpqJSnw7K12fSP0tYY5LYemT5FkoIIPOT1Em+ tGvjIZillPEIyIpzGbWkg8bBinzGP4Fcp4WUxfS/OU5A9umdYTHVrZ/DKiIgj1fN8du7 Lrj5/BZWel6vIEwdPOeze8HfU7ZrFdOgfG2SL/S6gJLZfjuUBaRC9JiQ8sDGxJdvmbeY /AYW6WO2wilbg21JZrRGlMcwiyhrF+6viZZGR0rdJAwNczKc2wlDwkqjJs+wwzaNwFJx Y0Jg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=HZAso6eo; 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 be14-20020a0564021a2e00b004ad0affbc79si1531495edb.382.2023.02.28.21.57.29 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Feb 2023 21:57:29 -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=HZAso6eo; 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 55249385B53C for <ouuuleilei@gmail.com>; Wed, 1 Mar 2023 05:57:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 55249385B53C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1677650238; bh=JjDW4edOH78zuQmyLMcODC8hqugQdl+lyJdrYIwsEyQ=; h=Date:To:Cc:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=HZAso6eoTHljA5f0mg0dpQsim0xRD2JhiUCKRptRJDnqreSLijkqCPCbF9SmuZSGA wWxrUnx1wiPON187IuhsydqhArwyQcpuhFEV9mBS0Hux08nESn8DT4yJBje8lG3pE+ zYapbsqWLbMgcUarQDoER1+WJC8KzTdElXy2Bu4k= 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 96FDF3858C50 for <gcc-patches@gcc.gnu.org>; Wed, 1 Mar 2023 05:56:29 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 96FDF3858C50 Received: from pps.filterd (m0098409.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3215Ovpo022830; Wed, 1 Mar 2023 05:56:28 GMT Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3p20hsrk9t-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 01 Mar 2023 05:56:28 +0000 Received: from m0098409.ppops.net (m0098409.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 3215o3WZ013952; Wed, 1 Mar 2023 05:56:28 GMT Received: from ppma03ams.nl.ibm.com (62.31.33a9.ip4.static.sl-reverse.com [169.51.49.98]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3p20hsrk9j-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 01 Mar 2023 05:56:28 +0000 Received: from pps.filterd (ppma03ams.nl.ibm.com [127.0.0.1]) by ppma03ams.nl.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 31SEpaPC019520; Wed, 1 Mar 2023 05:56:25 GMT Received: from smtprelay01.fra02v.mail.ibm.com ([9.218.2.227]) by ppma03ams.nl.ibm.com (PPS) with ESMTPS id 3nybcuc2ct-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 01 Mar 2023 05:56:25 +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 3215uNOW45613556 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 1 Mar 2023 05:56:23 GMT Received: from smtpav07.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 5338E2004B; Wed, 1 Mar 2023 05:56:23 +0000 (GMT) Received: from smtpav07.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B918120040; Wed, 1 Mar 2023 05:56:21 +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:21 +0000 (GMT) Message-ID: <9c5c7fe6-e6bb-4724-79d7-224cf1bb385e@linux.ibm.com> Date: Wed, 1 Mar 2023 13:56:20 +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> Cc: Segher Boessenkool <segher@kernel.crashing.org>, David Edelsohn <dje.gcc@gmail.com>, Peter Bergner <bergner@linux.ibm.com> Subject: [PATCH] rs6000/test: Adjust pr101384-2.c for P9 [PR108813] Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: y3TGlC3NEzLcdExpoydFmwRG8uASTnVl X-Proofpoint-GUID: SCKPBz4UmfxULM2i1GPAeDbPMN8QpNCu 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 bulkscore=0 priorityscore=1501 mlxscore=0 impostorscore=0 adultscore=0 mlxlogscore=999 suspectscore=0 spamscore=0 malwarescore=0 phishscore=0 lowpriorityscore=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 <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> 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?1759143788791445693?= X-GMAIL-MSGID: =?utf-8?q?1759143788791445693?= |
Series |
rs6000/test: Adjust pr101384-2.c for P9 [PR108813]
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | success | Github commit url |
Commit Message
Kewen.Lin
March 1, 2023, 5:56 a.m. UTC
Hi, Compiled with cpu type Power9 or later, GCC generates xxspltib rather than vspltis*, so adjust the test case scanning content 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/108813 gcc/testsuite/ChangeLog: * gcc.target/powerpc/pr101384-2.c: Adjust with xxspltib. --- gcc/testsuite/gcc.target/powerpc/pr101384-2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.39.2
diff --git a/gcc/testsuite/gcc.target/powerpc/pr101384-2.c b/gcc/testsuite/gcc.target/powerpc/pr101384-2.c index f3957086b04..c14891b5ab4 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr101384-2.c +++ b/gcc/testsuite/gcc.target/powerpc/pr101384-2.c @@ -2,7 +2,7 @@ /* { dg-do compile { target be } } */ /* { dg-options "-O2 -maltivec" } */ /* { dg-require-effective-target powerpc_altivec_ok } */ -/* { dg-final { scan-assembler-times {\mvspltis[whb] [^\n\r]*,-1\M} 9 } } */ +/* { dg-final { scan-assembler-times {\mvspltis[whb] [^\n\r]*,-1\M|\mxxspltib [^\n\r]*,255\M} 9 } } */ /* { dg-final { scan-assembler-times {\mvslw\M} 3 } } */ /* { dg-final { scan-assembler-times {\mvslh\M} 3 } } */ /* { dg-final { scan-assembler-times {\mvslb\M} 3 } } */