public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/55334] New: mgrid regression (ipa-cp disables vectorization)
@ 2012-11-15  2:27 hubicka at gcc dot gnu.org
  2012-11-15  7:11 ` [Bug tree-optimization/55334] " vincenzo.innocente at cern dot ch
                   ` (50 more replies)
  0 siblings, 51 replies; 52+ messages in thread
From: hubicka at gcc dot gnu.org @ 2012-11-15  2:27 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55334

             Bug #: 55334
           Summary: mgrid regression (ipa-cp disables vectorization)
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: hubicka@gcc.gnu.org


mgrid has regressed noticeably
http://gcc.opensuse.org/SPEC/CFP/sb-frescobaldi.suse.de-head-64/172_mgrid_big.png

This seems to be related to function resid_ that we now clone
  Creating a specialized node of resid/1.
    replacing param u with const &x.u
    replacing param v with const &x.v
    replacing param r with const &x.r
    replacing param a with const &x.a

Both variants stays in the code. When compiling resid vectorizer succeeds.

The difference seems to be:
191: vect_compute_data_ref_alignment:
191: Unknown alignment for access: *v_41(D)
191: vect_compute_data_ref_alignment:
191: Unknown alignment for access: *u_45(D)
191: vect_compute_data_ref_alignment:
191: Unknown alignment for access: *u_45(D)
191: vect_compute_data_ref_alignment:
191: Unknown alignment for access: *u_45(D)
191: vect_compute_data_ref_alignment:
191: Unknown alignment for access: *u_45(D)
191: vect_compute_data_ref_alignment:
191: Unknown alignment for access: *u_45(D)
191: vect_compute_data_ref_alignment:
191: Unknown alignment for access: *u_45(D)
191: vect_compute_data_ref_alignment:
191: Unknown alignment for access: *u_45(D)
191: vect_compute_data_ref_alignment:
191: Unknown alignment for access: *u_45(D)
191: vect_compute_data_ref_alignment:
191: Unknown alignment for access: *u_45(D)

being changed to
191: vect_compute_data_ref_alignment:
191: Unknown alignment for access: x
191: vect_compute_data_ref_alignment:
191: misalign = 0 bytes of ref MEM[(real(kind=8)[4] *)&x + 58071104B][0]
191: vect_compute_data_ref_alignment:
191: Unknown alignment for access: x
191: vect_compute_data_ref_alignment:
191: misalign = 8 bytes of ref MEM[(real(kind=8)[4] *)&x + 58071104B][1]
191: vect_compute_data_ref_alignment:
191: Unknown alignment for access: x
191: vect_compute_data_ref_alignment:
191: Unknown alignment for access: x
191: vect_compute_data_ref_alignment:
191: Unknown alignment for access: x
191: vect_compute_data_ref_alignment:
191: Unknown alignment for access: x
191: vect_compute_data_ref_alignment:
191: Unknown alignment for access: x

that ultimately leads to
191: === vect_prune_runtime_alias_test_list ===
191: disable versioning for alias - max number of generated checks exceeded.
191: too long list of versioning for alias run-time tests.

So it seems that specializing for particular static array = good thing leads to
vectorizer giving up.


^ permalink raw reply	[flat|nested] 52+ messages in thread

end of thread, other threads:[~2015-06-26 20:31 UTC | newest]

Thread overview: 52+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-15  2:27 [Bug tree-optimization/55334] New: mgrid regression (ipa-cp disables vectorization) hubicka at gcc dot gnu.org
2012-11-15  7:11 ` [Bug tree-optimization/55334] " vincenzo.innocente at cern dot ch
2012-11-15 11:07 ` hubicka at gcc dot gnu.org
2012-11-15 11:42 ` hubicka at gcc dot gnu.org
2012-11-16 10:39 ` hubicka at gcc dot gnu.org
2012-11-16 10:56 ` vincenzo.innocente at cern dot ch
2012-11-16 12:06 ` jakub at gcc dot gnu.org
2012-11-16 13:20 ` hubicka at gcc dot gnu.org
2012-11-16 13:22 ` hubicka at gcc dot gnu.org
2012-11-16 13:29 ` jakub at gcc dot gnu.org
2012-11-16 13:46 ` vincenzo.innocente at cern dot ch
2012-11-16 13:56 ` jakub at gcc dot gnu.org
2012-11-16 13:59 ` vincenzo.innocente at cern dot ch
2012-11-16 14:17 ` jakub at gcc dot gnu.org
2012-11-16 14:45 ` [Bug tree-optimization/55334] [4.8 Regression] " jakub at gcc dot gnu.org
2012-12-07 10:12 ` rguenth at gcc dot gnu.org
2012-12-10 15:34 ` rguenth at gcc dot gnu.org
2012-12-21 12:26 ` rguenth at gcc dot gnu.org
2012-12-21 13:49 ` hubicka at ucw dot cz
2012-12-21 14:02 ` rguenth at gcc dot gnu.org
2012-12-21 14:09 ` rguenth at gcc dot gnu.org
2012-12-21 14:10 ` jakub at gcc dot gnu.org
2012-12-21 14:12 ` rguenth at gcc dot gnu.org
2012-12-21 14:22 ` hubicka at ucw dot cz
2012-12-21 14:27 ` rguenth at gcc dot gnu.org
2013-02-12 20:11 ` jamborm at gcc dot gnu.org
2013-02-13  9:09 ` rguenth at gcc dot gnu.org
2013-02-19 12:55 ` jamborm at gcc dot gnu.org
2013-02-19 13:50 ` rguenther at suse dot de
2013-02-20 11:13 ` jamborm at gcc dot gnu.org
2013-02-20 12:57 ` jamborm at gcc dot gnu.org
2013-02-20 14:08 ` [Bug tree-optimization/55334] [4.8/4.9 " rguenth at gcc dot gnu.org
2013-03-28 12:36 ` jamborm at gcc dot gnu.org
2013-07-10 23:54 ` chris_s_jones at yahoo dot com
2013-07-24 15:47 ` jamborm at gcc dot gnu.org
2013-07-25 16:33 ` hubicka at ucw dot cz
2014-04-22 11:38 ` [Bug tree-optimization/55334] [4.8/4.9/4.10 " jakub at gcc dot gnu.org
2014-07-16 13:30 ` jakub at gcc dot gnu.org
2014-09-02 15:45 ` [Bug tree-optimization/55334] [4.8/4.9/5 " vp at gcc dot gnu.org
2014-09-03 10:04 ` jamborm at gcc dot gnu.org
2014-09-03 10:25 ` rguenther at suse dot de
2014-09-03 14:11 ` rguenth at gcc dot gnu.org
2014-09-05 12:41 ` rguenth at gcc dot gnu.org
2014-10-30 10:43 ` jakub at gcc dot gnu.org
2014-11-24  9:25 ` [Bug tree-optimization/55334] [4.8/4.9 " rguenth at gcc dot gnu.org
2014-11-24  9:25 ` [Bug tree-optimization/55334] [4.8/4.9/5 " rguenth at gcc dot gnu.org
2014-11-24  9:25 ` rguenth at gcc dot gnu.org
2015-02-16 11:26 ` [Bug tree-optimization/55334] [4.8/4.9 " andrew.n.senkevich at gmail dot com
2015-02-16 11:29 ` jakub at gcc dot gnu.org
2015-02-16 12:17 ` rguenther at suse dot de
2015-06-26 20:01 ` [Bug tree-optimization/55334] [4.9 " jakub at gcc dot gnu.org
2015-06-26 20:31 ` jakub at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).