From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by sourceware.org (Postfix) with ESMTPS id 8F379385772D for ; Thu, 24 Aug 2023 08:58:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8F379385772D Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.de Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id A103022C99 for ; Thu, 24 Aug 2023 08:58:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1692867526; h=from:from:reply-to:date:date:to:to:cc:mime-version:mime-version: content-type:content-type; bh=SkIZcrX93YdJPIaHtFXmAQCtYj3ZI0hutlfZXFiWM8A=; b=A8Sr2+Ayfk247TFLh13i3oztbLevNraYsz5B9V+I60OqeFLBkMOoWCOEec59iAU4jHnE4b T0pNHoDRbJLIjHenz5UmQ8Z09hXtYjuhBC1iHn3g5hYR/zZiqBfBlCOXi8EyGTMjtz7rwq K8Jgl4kng32AWPrAkRbTqg+kYYK4SLA= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1692867526; h=from:from:reply-to:date:date:to:to:cc:mime-version:mime-version: content-type:content-type; bh=SkIZcrX93YdJPIaHtFXmAQCtYj3ZI0hutlfZXFiWM8A=; b=Q+wE3jRLwPG/88Iu8vD8ZPBcUtEA/Wag3xBmCI9kjHT9Ux8pWY3VnPQ0d4Y8Um6HiyPWZ/ AdPK0E4KwxOICBAQ== Received: from wotan.suse.de (wotan.suse.de [10.160.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id 9A8492C276 for ; Thu, 24 Aug 2023 08:58:46 +0000 (UTC) Date: Thu, 24 Aug 2023 08:58:46 +0000 (UTC) From: Richard Biener To: gcc-patches@gcc.gnu.org Subject: [PATCH] testsuite/111125 - disable BB vectorization for the test User-Agent: Alpine 2.22 (LSU 394 2020-01-19) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-10.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,MISSING_MID,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: Message-ID: <20230824085846.rL9svy9n3937elneu0jPXowu42kOsN9iysvTaPVBeyQ@z> The test is for loop vectorization producing non-canonical multiplications. We can now BB vectorize the whole function when the target supports .REDUC_PLUS for V2SImode but we don't have a dejagnu selector for that. Disable BB vectorization like we disabled epilogue vectorization. Tested on aarch64-linux, pushed. PR testsuite/111125 * gcc.dg/vect/pr53773.c: Disable BB vectorization. --- gcc/testsuite/gcc.dg/vect/pr53773.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.dg/vect/pr53773.c b/gcc/testsuite/gcc.dg/vect/pr53773.c index 7f8229571ec..213e74e0b9d 100644 --- a/gcc/testsuite/gcc.dg/vect/pr53773.c +++ b/gcc/testsuite/gcc.dg/vect/pr53773.c @@ -1,7 +1,10 @@ /* Disabling epilogues until we find a better way to deal with scans. */ /* { dg-additional-options "--param vect-epilogues-nomask=0" } */ /* { dg-do compile } */ -/* { dg-additional-options "-fdump-tree-optimized" } */ +/* Disable BB vectorization, we now can cover the whole loop with that + when the target supports .REDUC_PLUS for integers, we don't have a + good target selector for this. */ +/* { dg-additional-options "-fdump-tree-optimized -fno-tree-slp-vectorize" } */ int foo (int integral, int decimal, int power_ten) -- 2.35.3