public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug tree-optimization/38885] New: missed FRE with BIT_FIELD_REF and vectors @ 2009-01-16 21:06 pinskia at gcc dot gnu dot org 2010-03-02 19:07 ` [Bug tree-optimization/38885] " pinskia at gcc dot gnu dot org 0 siblings, 1 reply; 6+ messages in thread From: pinskia at gcc dot gnu dot org @ 2009-01-16 21:06 UTC (permalink / raw) To: gcc-bugs Another one like PR 38884 and 38865. Simple testcase: #define vector __attribute__((vector_size(16) )) vector float global_res; float x; int main(int argc) { vector float res = (vector float)(0.0f,0.0f,0.0f,1.0f); res += (vector float)(0.0f,0.0f,0.0f,1.0f); global_res = res; x = *(float*)(&global_res); return 0; } -- Summary: missed FRE with BIT_FIELD_REF and vectors Product: gcc Version: 4.4.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhancement Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pinskia at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38885 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/38885] missed FRE with BIT_FIELD_REF and vectors 2009-01-16 21:06 [Bug tree-optimization/38885] New: missed FRE with BIT_FIELD_REF and vectors pinskia at gcc dot gnu dot org @ 2010-03-02 19:07 ` pinskia at gcc dot gnu dot org 0 siblings, 0 replies; 6+ messages in thread From: pinskia at gcc dot gnu dot org @ 2010-03-02 19:07 UTC (permalink / raw) To: gcc-bugs ------- Comment #1 from pinskia at gcc dot gnu dot org 2010-03-02 19:07 ------- Still happens as of today. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38885 ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <bug-38885-4@http.gcc.gnu.org/bugzilla/>]
* [Bug tree-optimization/38885] missed FRE with BIT_FIELD_REF and vectors [not found] <bug-38885-4@http.gcc.gnu.org/bugzilla/> @ 2010-09-24 18:39 ` pinskia at gcc dot gnu.org 2010-09-24 18:44 ` rguenth at gcc dot gnu.org ` (2 subsequent siblings) 3 siblings, 0 replies; 6+ messages in thread From: pinskia at gcc dot gnu.org @ 2010-09-24 18:39 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38885 --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2010-09-24 18:38:58 UTC --- global_res = { 0.0, 0.0, 0.0, 2.0e+0 }; x.0_4 = BIT_FIELD_REF <global_res, 32, 0>; x = x.0_4; return 0; -- Configure bugmail: http://gcc.gnu.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/38885] missed FRE with BIT_FIELD_REF and vectors [not found] <bug-38885-4@http.gcc.gnu.org/bugzilla/> 2010-09-24 18:39 ` pinskia at gcc dot gnu.org @ 2010-09-24 18:44 ` rguenth at gcc dot gnu.org 2011-10-05 14:37 ` rguenth at gcc dot gnu.org 2011-10-05 14:57 ` rguenth at gcc dot gnu.org 3 siblings, 0 replies; 6+ messages in thread From: rguenth at gcc dot gnu.org @ 2010-09-24 18:44 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38885 Richard Guenther <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2010.09.24 18:43:43 date| | AssignedTo|unassigned at gcc dot |rguenth at gcc dot gnu.org |gnu.org | Ever Confirmed|0 |1 --- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-09-24 18:43:43 UTC --- Mine. -- Configure bugmail: http://gcc.gnu.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/38885] missed FRE with BIT_FIELD_REF and vectors [not found] <bug-38885-4@http.gcc.gnu.org/bugzilla/> 2010-09-24 18:39 ` pinskia at gcc dot gnu.org 2010-09-24 18:44 ` rguenth at gcc dot gnu.org @ 2011-10-05 14:37 ` rguenth at gcc dot gnu.org 2011-10-05 14:57 ` rguenth at gcc dot gnu.org 3 siblings, 0 replies; 6+ messages in thread From: rguenth at gcc dot gnu.org @ 2011-10-05 14:37 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38885 --- Comment #4 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-10-05 14:35:22 UTC --- Author: rguenth Date: Wed Oct 5 14:35:15 2011 New Revision: 179556 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179556 Log: 2011-10-05 Richard Guenther <rguenther@suse.de> PR tree-optimization/38885 * tree-ssa-sccvn.c (vn_reference_lookup_3): Handle partial reads from constants. * gcc.dg/tree-ssa/ssa-fre-33.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/tree-ssa/ssa-fre-33.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-sccvn.c ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/38885] missed FRE with BIT_FIELD_REF and vectors [not found] <bug-38885-4@http.gcc.gnu.org/bugzilla/> ` (2 preceding siblings ...) 2011-10-05 14:37 ` rguenth at gcc dot gnu.org @ 2011-10-05 14:57 ` rguenth at gcc dot gnu.org 3 siblings, 0 replies; 6+ messages in thread From: rguenth at gcc dot gnu.org @ 2011-10-05 14:57 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38885 Richard Guenther <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #5 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-10-05 14:57:06 UTC --- Fixed for 4.7.0. ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-10-05 14:57 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2009-01-16 21:06 [Bug tree-optimization/38885] New: missed FRE with BIT_FIELD_REF and vectors pinskia at gcc dot gnu dot org 2010-03-02 19:07 ` [Bug tree-optimization/38885] " pinskia at gcc dot gnu dot org [not found] <bug-38885-4@http.gcc.gnu.org/bugzilla/> 2010-09-24 18:39 ` pinskia at gcc dot gnu.org 2010-09-24 18:44 ` rguenth at gcc dot gnu.org 2011-10-05 14:37 ` rguenth at gcc dot gnu.org 2011-10-05 14:57 ` rguenth 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).