From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-x42a.google.com (mail-pf1-x42a.google.com [IPv6:2607:f8b0:4864:20::42a]) by sourceware.org (Postfix) with ESMTPS id 5E95C3858D38 for ; Mon, 22 Apr 2024 09:27:21 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5E95C3858D38 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 5E95C3858D38 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::42a ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713778043; cv=none; b=uoDz0zZMot+3GJfIJx3bMQMoMgYO0tzsaNPiOzA7fsRct2Nv0Dbnvhq8Wg5xY1TPLGzKiIwHWD50nuZUrtcRWpS+RhWRKfQJ7a3zSBaWXsk8mxApbpAnoMk+uKEHEA2o6OuKOkBAgUpj6p6mpparlkRxXV8vP+kl/ibjBln/meg= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713778043; c=relaxed/simple; bh=Gj3DNLR1XISM6/GeikWKXX1BXTNMiCmowgShPpIuFp8=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=M4wDz82eLKiFtdZJ0J+RHk3vvx9fFbZZqTH6+ORD2VKYpxflayd0HhgrCG9UsvS5N1HdNJuG+FpsJ3iXC/sBhRFiBypGcyKYTZKXbjavcFJxe0m8kBKuONRiK5R/tWEgiFA6PXqPAX/sPLxYI9b2c8mx4TkSJb4t2anH/x1pU20= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pf1-x42a.google.com with SMTP id d2e1a72fcca58-6ed5109d924so3500581b3a.0 for ; Mon, 22 Apr 2024 02:27:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; t=1713778040; x=1714382840; darn=gcc.gnu.org; h=mime-version:user-agent:message-id:in-reply-to:date:references :organization:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=auSnAloJOh10ItLbAbtUTqPP3wKd3HpJLYIJE+R/oio=; b=Nm1WYzkpunuercSso1gUoVBfKe6GM9fM2nZkX8CNY2xqNX0x+ZfWiVf4SbxJ7UmKzu 6uTVHbOLt5qHDb8vk3B+BxVIYrV+wineaNW/Wzilb+WAtCIC94T50J0zDarHmFbhvqbE pnycWEAGtWgm/ocPIu4fYoavvF0Hc8uJ7zC39bpiND66+3dBW5oIfKcmYkrSdyPS+Ed+ +ozeKZp3rLUX58qVTTQSHSvNkuAg1EcA2+iC/GK9MyDmhk1GOzopUtrHDhFBud/fBRmh a/f2EAd5ko3CjTamHPpxvqYVkt09qijWPmBApvsA6c4xk0cou3A5V4eI2KxYmMIeblcB Dleg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713778040; x=1714382840; h=mime-version:user-agent:message-id:in-reply-to:date:references :organization:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=auSnAloJOh10ItLbAbtUTqPP3wKd3HpJLYIJE+R/oio=; b=lauYVu0cwQ2iKlGQHiNjIdhKWfucVD7fVCYvICsm9ajuybF6H2dDXacOiHeeRRctOW Xks6FtPaN/LxS12Q0qALvL/8quIq9phtEfgESCml+BJM6ppwD6xhWiQYuRufp2rWwpZQ /6qhrUiXU3dF9ziaOnuJJe5A1UE9Z+cJGboY7zjHO5dEeG7gCvOW5wf5r87Bx1xSPbr/ ARFmdAGfiS/uRIFf3Hql5ZVLJ02QpEM7/w50CEGwaFIQUi2dIkSXzzUYwnjxEYooX6vQ mUawDAkC65iQToIMfPce1mXDQ/87e5VoasWHW48hMKNmZBQsH35OxBgF9ouSnwYKsxQ9 GTXw== X-Gm-Message-State: AOJu0YyjtMPLg1mSkmcfK4RZpb15ch78BIY7BZmgDiVf2AmFmvmV/E+q RsyeqLAmoK1C6fvTEOJd2p0ulww+BfzzTg+5OUpiqkJw2Eu4gQCwwQvr8baxTNLBXeUspXnSaXR i/Q== X-Google-Smtp-Source: AGHT+IGX3nd0pK09BSqjutcY+8QNpKUIsOI3lFCGAnfrFRPieOa745TTsof1NYcVqU1IoeetIoOFPw== X-Received: by 2002:a05:6a00:21c6:b0:6ed:63e:3525 with SMTP id t6-20020a056a0021c600b006ed063e3525mr9167714pfj.31.1713778040127; Mon, 22 Apr 2024 02:27:20 -0700 (PDT) Received: from free.home ([2804:7f1:218b:5e2:c43b:e0c4:71a:241b]) by smtp.gmail.com with ESMTPSA id kt19-20020a056a004bb300b006e5af565b1dsm7380256pfb.201.2024.04.22.02.27.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Apr 2024 02:27:19 -0700 (PDT) Received: from livre (livre.home [172.31.160.2]) by free.home (8.15.2/8.15.2) with ESMTPS id 43M9R2NU019585 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Mon, 22 Apr 2024 06:27:02 -0300 From: Alexandre Oliva To: gcc-patches@gcc.gnu.org Cc: Rainer Orth , Mike Stump , David Edelsohn , Segher Boessenkool , Kewen Lin Subject: [PATCH] disable ldist for test, to restore vectorizing-candidate loop Organization: Free thinker, does not speak for AdaCore References: Date: Mon, 22 Apr 2024 06:27:02 -0300 In-Reply-To: (Alexandre Oliva's message of "Wed, 10 Mar 2021 06:11:29 -0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.84 X-Spam-Status: No, score=-12.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,KAM_SHORT,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,WEIRD_QUOTING 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: 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? 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" -- Alexandre Oliva, happy hacker https://FSFLA.org/blogs/lxo/ Free Software Activist GNU Toolchain Engineer More tolerance and less prejudice are key for inclusion and diversity Excluding neuro-others for not behaving ""normal"" is *not* inclusive