public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "rguenther at suse dot de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/66142] Loop is not vectorized because not sufficient support for GOMP_SIMD_LANE Date: Tue, 26 May 2015 08:28:00 -0000 [thread overview] Message-ID: <bug-66142-4-l3ZAg9f0xT@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-66142-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66142 --- Comment #9 from rguenther at suse dot de <rguenther at suse dot de> --- On Mon, 25 May 2015, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66142 > > Jakub Jelinek <jakub at gcc dot gnu.org> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > CC| |rguenth at gcc dot gnu.org > > --- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> --- I guess > it depends on what exactly SCCVN uses the operand vectors > created/optimized by copy_reference_ops_from_ref/valueize_refs_1 for. If > it is used only for tracking what is the value of the reference (the > value stored into that piece of memory), or also for canonicalization of > references to certain more canonical form, or both. If only the value It's only for tracking the value (and to get a canonical form for its internal hash-tables and compare function). I think this bug may be related to PR63916. > of the reference, then supposedly it would be nice to get far more > canonicalization in the references (e.g. turn (perhaps multiple nested) > COMPONENT_REFs into MEM_REFs with offset (except perhaps for bitfields, > perhaps even do something about ARRAY_REFs, so that say even: struct A { > float x, y; }; struct B { struct A u; }; void bar (struct A *); > > float > f2 (struct B *x, int y) > { > struct A p; > p.x = 1.0f; > p.y = 2.0f; > char *z = (char *) x; > z += y * sizeof (struct B); > z += __builtin_offsetof (struct B, u.y); > x[y].u = p; > float f = *(float *) z; > bar (&p); > return f; > } > is handled). But, supposedly it would be undesirable to canonicalize all the > COMPONENT_REFs to the MEM_REFs (at least early on, e.g. for > __builtin_object_size (, 1) purposes, or aliasing etc.). > Richi, any thoughts on this? On the f1 testcase it probably fails to look through the aggregate copy in vn_reference_lookup_3. I'll have a short look later.
next prev parent reply other threads:[~2015-05-26 8:28 UTC|newest] Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-05-14 14:18 [Bug tree-optimization/66142] New: " ysrumyan at gmail dot com 2015-05-14 14:19 ` [Bug tree-optimization/66142] " ysrumyan at gmail dot com 2015-05-22 10:09 ` jakub at gcc dot gnu.org 2015-05-22 11:12 ` jakub at gcc dot gnu.org 2015-05-22 11:40 ` jakub at gcc dot gnu.org 2015-05-22 11:54 ` jakub at gcc dot gnu.org 2015-05-22 14:51 ` jakub at gcc dot gnu.org 2015-05-25 9:35 ` jakub at gcc dot gnu.org 2015-05-25 12:48 ` jakub at gcc dot gnu.org 2015-05-26 8:28 ` rguenther at suse dot de [this message] 2015-05-26 8:42 ` rguenth at gcc dot gnu.org 2015-05-26 13:56 ` rguenth at gcc dot gnu.org 2015-05-26 14:43 ` rguenth at gcc dot gnu.org 2015-05-27 7:56 ` rguenth at gcc dot gnu.org 2015-05-28 13:25 ` rguenth at gcc dot gnu.org 2015-05-29 13:07 ` jakub at gcc dot gnu.org 2015-06-02 13:18 ` rguenth at gcc dot gnu.org 2015-06-02 13:34 ` rguenth at gcc dot gnu.org 2015-06-03 8:03 ` rguenth at gcc dot gnu.org 2015-09-14 14:10 ` rguenth at gcc dot gnu.org 2015-09-17 12:36 ` rguenth at gcc dot gnu.org 2015-09-18 7:57 ` rguenth at gcc dot gnu.org 2021-05-04 13:17 ` rguenth at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-66142-4-l3ZAg9f0xT@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).