From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C26F33858C55; Thu, 13 Oct 2022 14:30:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C26F33858C55 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1665671447; bh=Tfo9NWVurpdTRomrHRDI8QmhcpNrSwsFIW83S4UpBJ4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=HanZYkOmmIlnjdYKJxGBPnf3+hBTev+duv9/bCqIs6TBXf928vBshvzRG7JxsZUzF axHFz8JQ7DM5FipbcAmdGMN37sAyDwpOFzckhlM9wj/03+Ig4RTTkzC/JD6XydMt9r rlAVq3RqC29uxNNycB8gUdv8JXfmtjwU+rGPSgvE= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/107247] SLP reduction results fail to reduce to a single accumulator Date: Thu, 13 Oct 2022 14:30:47 +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: 13.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status 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=3D107247 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|ASSIGNED |RESOLVED --- Comment #3 from Richard Biener --- This is now fixed for the cases not requiring permutations. One could thin= k of a three-lane SLP reduction with three four component vectors being reduced by first "expanding" to four "three component" vectors, summing them and th= en extracting from the lower three lanes. Likewise for a six-lane SLP reducti= on which would get a more complex extraction of two-vector, six-lane pairs. Unless a compelling case comes along I don't consider these important.=