From patchwork Mon Sep 9 07:42:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Biener X-Patchwork-Id: 1982399 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=TBpqBwGh; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=VTO7i9Yj; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=TBpqBwGh; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=VTO7i9Yj; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4X2Jjl2F9Kz1y1D for ; Mon, 9 Sep 2024 17:43:39 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 1A1DD385E837 for ; Mon, 9 Sep 2024 07:43:37 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131]) by sourceware.org (Postfix) with ESMTPS id A0088385EC16 for ; Mon, 9 Sep 2024 07:42:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A0088385EC16 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.de ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A0088385EC16 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=195.135.223.131 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1725867779; cv=none; b=CVuvkR2VSOgz3Vj/Bqcx7y57hqJONA8J2+DgCrnbWR1xcWjN4ywTQU/uUxp40wvdyNixUuwuNM3dt0W1boHP8CrmGrnJHRgmK3uOOjWPnUiq+Nt9dQ3MWo3HfSt7r9GfxhzrGWexcE2gjVW/Xu3fh9c8d0ZuCFLlufRHa78EPs8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1725867779; c=relaxed/simple; bh=sIzmNarB7NM2mccONbqPoDFIze34cGgk+lNn7CzL80Y=; h=DKIM-Signature:DKIM-Signature:DKIM-Signature:DKIM-Signature:Date: From:To:Subject:MIME-Version; b=d2nwSrvGTD6d7TS/R3KBkSmhh7ofbFquvX7DR6emUgesfihTl4F3Eh/xI3ysOQB5/GAExHAWh+/CmtKa6tA8SuGlKYh+CN1V2WzxGe8blSURTUJmIR4IVKaF6a6163TilJ1GKtapujzB7Edyq94f9hKTWWtK2rocZXl8K5H4Cpk= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from murzim.nue2.suse.org (unknown [10.168.4.243]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id A4C1D1F796 for ; Mon, 9 Sep 2024 07:42:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1725867776; h=from:from:reply-to:date:date:to:to:cc:mime-version:mime-version: content-type:content-type; bh=YEPnxHiP5E0BTW/ySoWlKRvcDjy/FY2J4ksEEfyhdwc=; b=TBpqBwGhHUmoEbZeLn7eAtlq5YOogNj6r07CLbWnRW0Bji5gXDMiwNuy0Rj6c6aUB1zr4A p8ybItr92Y/csKkTfZbwPJr0GVVosO0EoceMiIilC3jETZfsesNrumrGWPxfsgwTtDL7lY 2IEkpGXB1N3eKAs4AAntcRr6e3H9lKg= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1725867776; h=from:from:reply-to:date:date:to:to:cc:mime-version:mime-version: content-type:content-type; bh=YEPnxHiP5E0BTW/ySoWlKRvcDjy/FY2J4ksEEfyhdwc=; b=VTO7i9Yj34mCErb4wdZ777Rd+xPo/RcEbaWmy6vPYUoSs4XWvRlo8M1Y+VEXxXeW7Tuf/e xDM2nzBFpz4u+rDg== Authentication-Results: smtp-out2.suse.de; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1725867776; h=from:from:reply-to:date:date:to:to:cc:mime-version:mime-version: content-type:content-type; bh=YEPnxHiP5E0BTW/ySoWlKRvcDjy/FY2J4ksEEfyhdwc=; b=TBpqBwGhHUmoEbZeLn7eAtlq5YOogNj6r07CLbWnRW0Bji5gXDMiwNuy0Rj6c6aUB1zr4A p8ybItr92Y/csKkTfZbwPJr0GVVosO0EoceMiIilC3jETZfsesNrumrGWPxfsgwTtDL7lY 2IEkpGXB1N3eKAs4AAntcRr6e3H9lKg= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1725867776; h=from:from:reply-to:date:date:to:to:cc:mime-version:mime-version: content-type:content-type; bh=YEPnxHiP5E0BTW/ySoWlKRvcDjy/FY2J4ksEEfyhdwc=; b=VTO7i9Yj34mCErb4wdZ777Rd+xPo/RcEbaWmy6vPYUoSs4XWvRlo8M1Y+VEXxXeW7Tuf/e xDM2nzBFpz4u+rDg== Date: Mon, 9 Sep 2024 09:42:56 +0200 (CEST) From: Richard Biener To: gcc-patches@gcc.gnu.org Subject: [PATCH] Amend gcc.dg/vect/fast-math-vect-call-2.c MIME-Version: 1.0 X-Spamd-Result: default: False [1.57 / 50.00]; BAYES_HAM(-3.00)[99.99%]; MISSING_MID(2.50)[]; NEURAL_SPAM_LONG(2.35)[0.672]; NEURAL_HAM_SHORT(-0.18)[-0.877]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_ZERO(0.00)[0]; ARC_NA(0.00)[]; MISSING_XM_UA(0.00)[]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[] X-Spam-Score: 1.57 X-Spam-Status: No, score=-10.5 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 X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org Message-Id: <20240909074337.1A1DD385E837@sourceware.org> There was a reported regression on x86-64 with -march=cascadelake and -m32 where epilogue vectorization causes a different number of SLPed loops. Fixed by disabling epilogue vectorization for the testcase. tested on x86_64-unknown-linux-gnu, pushed. * gcc.dg/vect/fast-math-vect-call-2.c: Disable epilogue vectorization. --- gcc/testsuite/gcc.dg/vect/fast-math-vect-call-2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/testsuite/gcc.dg/vect/fast-math-vect-call-2.c b/gcc/testsuite/gcc.dg/vect/fast-math-vect-call-2.c index ed42a21cedc..e52ffe435d3 100644 --- a/gcc/testsuite/gcc.dg/vect/fast-math-vect-call-2.c +++ b/gcc/testsuite/gcc.dg/vect/fast-math-vect-call-2.c @@ -1,4 +1,5 @@ /* { dg-require-effective-target vect_double } */ +/* { dg-additional-options "--param vect-epilogues-nomask=0" } */ #include "tree-vect.h"