From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by sourceware.org (Postfix) with ESMTPS id 8DD0A385841E for ; Thu, 11 Apr 2024 07:48:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8DD0A385841E 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 8DD0A385841E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=148.163.156.1 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1712821692; cv=none; b=fnNDQ5Tkm9uWJNpcyHW/bWg8BHD2Wx7OXMw28zY/ursjkt2UeuU3jGJ2y9FMt+XJANGTKp4pAp2X1Onr1k+mqCyvskpcFQPG0d51M5CVnP8YnSkn6IqHEn4XTjYWst42OR49zU7scyj2VC60I9JBFCR+1qL/KT3Y9JA51ny02lQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1712821692; c=relaxed/simple; bh=fPd5AX0GVIF8zimdibDCfT6rafQ0RV61NfoNX2wF6K4=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=QnFR86Cxswm4xAoF9fsswAqlMrWC+iw4qkn7umd7074Fnv1igVShpYL+b3QUcaneUMJ5ApeHNEQ1HRdZLEj51pUOwhfIPpNiTGvJg5Z6q1pVK/bA+Ptd7n9UNkvNhZs/upEILjm439LLUHnuPtsqH64hkh7mqtx1Ip7BBCkTyMI= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from pps.filterd (m0353729.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 43B7QcAS031154 for ; Thu, 11 Apr 2024 07:48:09 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding; s=pp1; bh=xquWEDxg3YpXJ4XSiLqzjqgWpq+Y9xIbv6vaHcw5XxQ=; b=gt5oARR0iH3K7qAT3y/0KqDBbHjieM6STkiVOyjZEj05MHDeIDADA7UWez+3gQ9zbmMG X9orLdv7gIcLZTJ7khDd36E2HM3ByNvVaib5TM+ZiQOkm+FZ+y2lc4X87CxszkBo/J1B LiWFIO+5PeP86aAhZXf5FxYOc6VUSgjNa/+Gs4Kg6xRtkO6D9dIk+JhMfj7z74ufdHYT lBYb+NsFsht0R+d+SsTt87uPjf54uH1GTcdzAOg752AhStTLXN7egCGmQqo14TA1hw7U CEihEBwKylhfKfp9TyR2SkRz3uehswaIHqHfzRQRCyzac5vvkKZL4H6mSDMp3kJa54oJ Eg== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3xeb1vg39x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 11 Apr 2024 07:48:08 +0000 Received: from m0353729.ppops.net (m0353729.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 43B7m8hU030124 for ; Thu, 11 Apr 2024 07:48:08 GMT Received: from ppma12.dal12v.mail.ibm.com (dc.9e.1632.ip4.static.sl-reverse.com [50.22.158.220]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3xeb1vg39u-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 11 Apr 2024 07:48:08 +0000 Received: from pps.filterd (ppma12.dal12v.mail.ibm.com [127.0.0.1]) by ppma12.dal12v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 43B5nsgH013554; Thu, 11 Apr 2024 07:48:07 GMT Received: from smtprelay03.fra02v.mail.ibm.com ([9.218.2.224]) by ppma12.dal12v.mail.ibm.com (PPS) with ESMTPS id 3xbgqtt4sn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 11 Apr 2024 07:48:07 +0000 Received: from smtpav07.fra02v.mail.ibm.com (smtpav07.fra02v.mail.ibm.com [10.20.54.106]) by smtprelay03.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 43B7m2eu55509294 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 11 Apr 2024 07:48:04 GMT Received: from smtpav07.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 101352005A; Thu, 11 Apr 2024 07:48:02 +0000 (GMT) Received: from smtpav07.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id EE8FA2004B; Thu, 11 Apr 2024 07:48:01 +0000 (GMT) Received: from a8345010.lnxne.boe (unknown [9.152.108.100]) by smtpav07.fra02v.mail.ibm.com (Postfix) with ESMTPS; Thu, 11 Apr 2024 07:48:01 +0000 (GMT) From: Stefan Schulze Frielinghaus To: Richard Biener , gcc-patches@gcc.gnu.org Cc: Stefan Schulze Frielinghaus Subject: [PATCH] testsuite: Fix loop-interchange-16.c Date: Thu, 11 Apr 2024 09:46:34 +0200 Message-ID: <20240411074633.1987147-2-stefansf@linux.ibm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: ZARTIWl_Zzsm6xWZjNzLMWhQySgb2gSX X-Proofpoint-GUID: N7nMDSrgQDHHz9DZyngI2Xpi9c4iKl0E X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-04-11_02,2024-04-09_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 spamscore=0 bulkscore=0 phishscore=0 suspectscore=0 malwarescore=0 mlxlogscore=875 mlxscore=0 adultscore=0 clxscore=1015 impostorscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2404010000 definitions=main-2404110055 X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,GIT_PATCH_0,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: Yes, that works, too. Will commit. Thanks, Stefan -- Prevent loop unrolling of the innermost loop because otherwise we are left with no loop interchange for targets like s390 which have a more aggressive loop unrolling strategy. gcc/testsuite/ChangeLog: * gcc.dg/tree-ssa/loop-interchange-16.c: Prevent loop unrolling of the innermost loop. --- gcc/testsuite/gcc.dg/tree-ssa/loop-interchange-16.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/testsuite/gcc.dg/tree-ssa/loop-interchange-16.c b/gcc/testsuite/gcc.dg/tree-ssa/loop-interchange-16.c index 781555e085d..bbcb14f9c6c 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/loop-interchange-16.c +++ b/gcc/testsuite/gcc.dg/tree-ssa/loop-interchange-16.c @@ -11,6 +11,7 @@ double s231(int iterations) // loop with data dependency for (int nl = 0; nl < 100*(iterations/LEN_2D); nl++) { for (int i = 0; i < LEN_2D; ++i) { +#pragma GCC unroll 0 for (int j = 1; j < LEN_2D; j++) { aa[j][i] = aa[j - 1][i] + bb[j][i]; } -- 2.43.0