From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 695793858C39; Fri, 9 Feb 2024 06:52:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 695793858C39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1707461544; bh=/bQX0DBRATqt1i/GsjXVua3ENr/3WM+yB3tr5mLilOA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Gjm3MxF1tbRQPJ1rS3Kfy49+k4lREbnsAwoglpKIXhM82KDHC9SVjYIxpoNN9Ea6K mmpAE6jp//V+gmjVKbFmbieBij1nZtDZ30Ol+b5cIGZUwK3G4ZXW9ORNeuPidsr3rS zrsO3qgj4LFKSMaVmzpLlxkR3yL4p0I/9Iun+cCw= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/113833] 435.gromacs fails verification on with -Ofast -march={cascadelake,icelake-server} and PGO after r14-7272-g57f611604e8bab Date: Fri, 09 Feb 2024 06:52:23 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D113833 --- Comment #3 from Richard Biener --- I suspect the issue would pop up with -Ofast -fno-vect-cost-model for any sub-architecture. The patch referenced just adjusts costs for doing BB vectorization (and there's reductions there as well). It might be interest= ing to offer more high-level knobs to tune for vectorization, say -fno-vect-bb-reduction or -fforce-in-order-bb-reduction-vectorization. A compare before/after the patch of -fopt-info-vec output might show the few cases that are affected by the patch.=