From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3DF353857C4F; Mon, 19 Oct 2020 15:07:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3DF353857C4F From: "seurer at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/97494] New: [11 regression] several vector test case failures starting with r11-3966 Date: Mon, 19 Oct 2020 15:07:22 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: seurer 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Oct 2020 15:07:22 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D97494 Bug ID: 97494 Summary: [11 regression] several vector test case failures starting with r11-3966 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: seurer at gcc dot gnu.org Target Milestone: --- g:429ad0bb0d3dc77e44f95620341da4938d49168e, r11-3966: 109 failures On all powerpc64 both BE and LE: FAIL: gcc.dg/vect/slp-11b.c -flto -ffat-lto-objects scan-tree-dump-times v= ect "vectorizing stmts using SLP" 0 FAIL: gcc.dg/vect/slp-11b.c scan-tree-dump-times vect "vectorizing stmts us= ing SLP" 0 FAIL: gcc.dg/vect/slp-21.c -flto -ffat-lto-objects scan-tree-dump-times ve= ct "vectorizing stmts using SLP" 2 FAIL: gcc.dg/vect/slp-21.c scan-tree-dump-times vect "vectorizing stmts usi= ng SLP" 2 Some extras on power7 BE: FAIL: gcc.dg/vect/pr97428.c -flto -ffat-lto-objects scan-tree-dump-times v= ect "vectorizing stmts using SLP" 2 FAIL: gcc.dg/vect/pr97428.c scan-tree-dump-times vect "vectorizing stmts us= ing SLP" 2 FAIL: gcc.dg/vect/vect-complex-5.c -flto -ffat-lto-objects=20 scan-tree-dump-times vect "vectorizing stmts using SLP" 2 FAIL: gcc.dg/vect/vect-complex-5.c scan-tree-dump-times vect "vectorizing s= tmts using SLP" 2 commit 429ad0bb0d3dc77e44f95620341da4938d49168e (HEAD) Author: Richard Biener Date: Thu Oct 15 11:55:53 2020 +0200 tree-optimization/97428 - split SLP groups for loop vectorization This enables SLP store group splitting also for loop vectorization. For the existing testcase gcc.dg/vect/vect-complex-5.c this then generates much better code, likewise for the PR97428 testcase. Both of those have a splitting opportunity splitting the group into two equal (vector-sized) halves, still the patch enables quite arbitrary splitting since generally the interleaving scheme results in quite awkward code for even small groups. If any problems surface with this it's easy to restrict the splitting to known-good cases. 2020-10-15 Richard Biener PR tree-optimization/97428 * tree-vect-slp.c (vect_analyze_slp_instance): Split store groups also for loop vectorization. * gcc.dg/vect/vect-complex-5.c: Expect to SLP. * gcc.dg/vect/pr97428.c: Likewise.=