From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by sourceware.org (Postfix) with ESMTPS id 814AD385840E; Tue, 23 Apr 2024 06:39:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 814AD385840E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=linux.ibm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linux.ibm.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 814AD385840E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=148.163.158.5 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713854372; cv=none; b=r/1X6nblfW08Y6uUBTsEoJaJLtuJ2MofhuZihrN/R4zyBBTmDKJ2/F/w5LiYORkBy5QhsAUHdtETF976Eh2BqbupTmpZUhcbKfMOOrT7nj0NTS0RGdThmxQIO7QHBQG/yUcLkPK8wb20XlC41RkK6tcS8dj69AcyK5MqKIe9W78= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713854372; c=relaxed/simple; bh=TxYBoKA84XZQCvKHPngc0FCgJ1KWXVn6NWwAbyPtVLY=; h=DKIM-Signature:Message-ID:Date:Subject:To:From:MIME-Version; b=X3iMFAb4U4dxhZuRiDjC7vYnf75TTXSyzuZnC898Mk9qfweRmN4sWwowL0S71lv07mTly6i8cAH9s7C4wcffi1Cj8R2vmzZCLWCuAFxmNX6I5/OaDv7QLV8lfrICOCqxIK++e67PXssPK1DadORblFEyFCa+e2JS/9+wc4SNL4A= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from pps.filterd (m0360072.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 43N5i1OF013523; Tue, 23 Apr 2024 06:39:28 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : date : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pp1; bh=Wnwr2dpuDkzz10LGBbaRda7VuMObBPl7d4+P3NqTnx8=; b=kzewbnXBvLhLnZudD16zaLLoNu54Gyto5YZQ3Br9ynnWZhKM/RIATfeByKYA5uTFCFLT F8ge2xqi7Twoc5qJRlfFZcuw4xLNVi3EaZRFrUC4YR8MJ4AKS161qbAGmTq78xTzi7GU yZqeFDd5wlPzIZXL+ur9MG2tLVkLQvjfRJudvQzuaraySqHlezVrp460JHq3PduylbGU dW8HOl19p2R6wr1rsRZVm8715vu0Vc+h+9oGVnk9XRCWMBvfNlG+QNTIqobkOmIe/NT3 w/tuZqVMlVltGSS5O1jd3aNu+OVyYEE2YQw94wyIF5gyXZK9KRjqJe1PCHjkOCER6hDA TA== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3xp3q509xd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 23 Apr 2024 06:39:28 +0000 Received: from m0360072.ppops.net (m0360072.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 43N6dRTM012609; Tue, 23 Apr 2024 06:39:27 GMT Received: from ppma22.wdc07v.mail.ibm.com (5c.69.3da9.ip4.static.sl-reverse.com [169.61.105.92]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3xp3q509xb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 23 Apr 2024 06:39:27 +0000 Received: from pps.filterd (ppma22.wdc07v.mail.ibm.com [127.0.0.1]) by ppma22.wdc07v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 43N2nomX020908; Tue, 23 Apr 2024 06:39:27 GMT Received: from smtprelay03.fra02v.mail.ibm.com ([9.218.2.224]) by ppma22.wdc07v.mail.ibm.com (PPS) with ESMTPS id 3xmrdyv7as-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 23 Apr 2024 06:39:26 +0000 Received: from smtpav01.fra02v.mail.ibm.com (smtpav01.fra02v.mail.ibm.com [10.20.54.100]) by smtprelay03.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 43N6dN7T52691370 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 23 Apr 2024 06:39:25 GMT Received: from smtpav01.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id EB7CC2004B; Tue, 23 Apr 2024 06:39:22 +0000 (GMT) Received: from smtpav01.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 8DDA620043; Tue, 23 Apr 2024 06:39:20 +0000 (GMT) Received: from [9.200.55.181] (unknown [9.200.55.181]) by smtpav01.fra02v.mail.ibm.com (Postfix) with ESMTP; Tue, 23 Apr 2024 06:39:20 +0000 (GMT) Message-ID: Date: Tue, 23 Apr 2024 14:39:19 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH] disable ldist for test, to restore vectorizing-candidate loop Content-Language: en-US To: Alexandre Oliva Cc: Rainer Orth , Mike Stump , David Edelsohn , Segher Boessenkool , Kewen Lin , gcc-patches@gcc.gnu.org References: From: "Kewen.Lin" In-Reply-To: Content-Type: text/plain; charset=UTF-8 X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: -0GX8S2cHcyEdK2YVSxyUsZZFgMMfLmT X-Proofpoint-GUID: MleWbfz82CVn0q-g4K5qqXNBmsUI2sR3 Content-Transfer-Encoding: 7bit X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-04-23_04,2024-04-22_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 bulkscore=0 priorityscore=1501 mlxlogscore=999 mlxscore=0 suspectscore=0 lowpriorityscore=0 adultscore=0 clxscore=1015 phishscore=0 malwarescore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2404010000 definitions=main-2404230018 X-Spam-Status: No, score=-13.8 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,GIT_PATCH_0,KAM_SHORT,NICE_REPLY_A,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,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 List-Id: on 2024/4/22 17:27, Alexandre Oliva wrote: > Ping? > https://gcc.gnu.org/pipermail/gcc-patches/2021-March/566524.html > > The loop we're supposed to try to vectorize in > gcc.dg/vect/costmodel/ppc/costmodel-vect-31a.c is turned into a memset > before the vectorizer runs. > > Various other tests in this set have already run into this, and the > solution has been to disable this loop distribution transformation, > enabled at -O2, so that the vectorizer gets a chance to transform the > loop and, in this testcase, fail to do so. > > Regstrapped on x86_64-linux-gnu and ppc64el-linux-gnu. Also tested with > gcc-13 on ppc64-vx7r2 and ppc-vx7r2. Ok to install? OK, thanks! BR, Kewen > > > for gcc/testsuite/ChangeLog > > * gcc.dg/vect/costmodel/ppc/costmodel-vect-31a.c: Disable > ldist. > --- > .../gcc.dg/vect/costmodel/ppc/costmodel-vect-31a.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-31a.c b/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-31a.c > index 454a714a30916..90b5d5a7f400b 100644 > --- a/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-31a.c > +++ b/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-31a.c > @@ -1,4 +1,5 @@ > /* { dg-require-effective-target vect_int } */ > +/* { dg-additional-options "-fno-tree-loop-distribute-patterns" } */ > > #include > #include "../../tree-vect.h" >