public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug tree-optimization/14052] Combiner weakness [not found] <bug-14052-2744@http.gcc.gnu.org/bugzilla/> @ 2007-03-02 16:23 ` rguenth at gcc dot gnu dot org 2007-03-05 17:03 ` rguenth at gcc dot gnu dot org 2007-03-05 17:03 ` rguenth at gcc dot gnu dot org 2 siblings, 0 replies; 6+ messages in thread From: rguenth at gcc dot gnu dot org @ 2007-03-02 16:23 UTC (permalink / raw) To: gcc-bugs ------- Comment #4 from rguenth at gcc dot gnu dot org 2007-03-02 16:23 ------- VRP can do this on the mainline. Fixed. (I'll add a testcase) -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Target Milestone|--- |4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14052 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/14052] Combiner weakness [not found] <bug-14052-2744@http.gcc.gnu.org/bugzilla/> 2007-03-02 16:23 ` [Bug tree-optimization/14052] Combiner weakness rguenth at gcc dot gnu dot org @ 2007-03-05 17:03 ` rguenth at gcc dot gnu dot org 2007-03-05 17:03 ` rguenth at gcc dot gnu dot org 2 siblings, 0 replies; 6+ messages in thread From: rguenth at gcc dot gnu dot org @ 2007-03-05 17:03 UTC (permalink / raw) To: gcc-bugs ------- Comment #5 from rguenth at gcc dot gnu dot org 2007-03-05 17:03 ------- It was fixed by the fix for PR15911. -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- BugsThisDependsOn| |15911 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14052 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/14052] Combiner weakness [not found] <bug-14052-2744@http.gcc.gnu.org/bugzilla/> 2007-03-02 16:23 ` [Bug tree-optimization/14052] Combiner weakness rguenth at gcc dot gnu dot org 2007-03-05 17:03 ` rguenth at gcc dot gnu dot org @ 2007-03-05 17:03 ` rguenth at gcc dot gnu dot org 2 siblings, 0 replies; 6+ messages in thread From: rguenth at gcc dot gnu dot org @ 2007-03-05 17:03 UTC (permalink / raw) To: gcc-bugs ------- Comment #6 from rguenth at gcc dot gnu dot org 2007-03-05 17:03 ------- Subject: Bug 14052 Author: rguenth Date: Mon Mar 5 17:03:14 2007 New Revision: 122559 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=122559 Log: 2007-03-05 Richard Guenther <rguenther@suse.de> PR tree-optimization/14052 * gcc.dg/tree-ssa/vrp33.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/tree-ssa/vrp33.c Modified: trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14052 ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <bug-14052-4@http.gcc.gnu.org/bugzilla/>]
* [Bug tree-optimization/14052] Combiner weakness [not found] <bug-14052-4@http.gcc.gnu.org/bugzilla/> @ 2013-11-09 20:40 ` pinskia at gcc dot gnu.org 0 siblings, 0 replies; 6+ messages in thread From: pinskia at gcc dot gnu.org @ 2013-11-09 20:40 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14052 Bug 14052 depends on bug 15357, which changed state. Bug 15357 Summary: [tree-ssa] combing if statements http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15357 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug optimization/14052] New: Combiner weakness @ 2004-02-06 22:47 falk at debian dot org 2004-05-26 12:24 ` [Bug tree-optimization/14052] " pinskia at gcc dot gnu dot org 2005-02-15 0:14 ` law at redhat dot com 0 siblings, 2 replies; 6+ messages in thread From: falk at debian dot org @ 2004-02-06 22:47 UTC (permalink / raw) To: gcc-bugs For this code: int f1(int x) { return x == 1 || x == 3; } int f2(int x) { return x == 1 || x == 3 || x == 1; } I get: 0000000000000000 <f1>: 0: a1 75 00 42 cmpeq a0,0x3,t0 4: a0 35 00 42 cmpeq a0,0x1,v0 8: 00 04 01 44 or v0,t0,v0 c: 01 80 fa 6b ret 0000000000000010 <f2>: 10: a0 35 00 42 cmpeq a0,0x1,v0 14: a2 75 00 42 cmpeq a0,0x3,t1 18: 01 04 02 44 or v0,t1,t0 1c: a0 03 e0 43 cmpult zero,v0,v0 20: c0 34 20 44 cmovne t0,0x1,v0 24: 01 80 fa 6b ret combine should have realized that t0 has at most the low bit set and cmpult therefore is always false. -- Summary: Combiner weakness Product: gcc Version: tree-ssa Status: UNCONFIRMED Keywords: pessimizes-code Severity: enhancement Priority: P2 Component: optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: falk at debian dot org CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: alphaev68-unknown-linux-gnu GCC host triplet: alphaev68-unknown-linux-gnu GCC target triplet: alphaev68-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14052 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/14052] Combiner weakness 2004-02-06 22:47 [Bug optimization/14052] New: " falk at debian dot org @ 2004-05-26 12:24 ` pinskia at gcc dot gnu dot org 2005-02-15 0:14 ` law at redhat dot com 1 sibling, 0 replies; 6+ messages in thread From: pinskia at gcc dot gnu dot org @ 2004-05-26 12:24 UTC (permalink / raw) To: gcc-bugs -- What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.5.0 |--- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14052 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/14052] Combiner weakness 2004-02-06 22:47 [Bug optimization/14052] New: " falk at debian dot org 2004-05-26 12:24 ` [Bug tree-optimization/14052] " pinskia at gcc dot gnu dot org @ 2005-02-15 0:14 ` law at redhat dot com 1 sibling, 0 replies; 6+ messages in thread From: law at redhat dot com @ 2005-02-15 0:14 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From law at redhat dot com 2005-02-14 20:13 ------- It seems to me that the SSA optimizers ought to have removed the redundant test well before we get into the RTL code. And it appears to me that they do I get identical code for both tests out of the SSA optimizers. -- What |Removed |Added ---------------------------------------------------------------------------- CC| |law at redhat dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14052 ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2013-11-09 20:39 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <bug-14052-2744@http.gcc.gnu.org/bugzilla/> 2007-03-02 16:23 ` [Bug tree-optimization/14052] Combiner weakness rguenth at gcc dot gnu dot org 2007-03-05 17:03 ` rguenth at gcc dot gnu dot org 2007-03-05 17:03 ` rguenth at gcc dot gnu dot org [not found] <bug-14052-4@http.gcc.gnu.org/bugzilla/> 2013-11-09 20:40 ` pinskia at gcc dot gnu.org 2004-02-06 22:47 [Bug optimization/14052] New: " falk at debian dot org 2004-05-26 12:24 ` [Bug tree-optimization/14052] " pinskia at gcc dot gnu dot org 2005-02-15 0:14 ` law at redhat dot com
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).