public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug tree-optimization/16107] missed optimization with some math function builtins [not found] <bug-16107-4@http.gcc.gnu.org/bugzilla/> @ 2012-11-02 16:12 ` glisse at gcc dot gnu.org 2014-10-31 4:01 ` pinskia at gcc dot gnu.org ` (2 subsequent siblings) 3 siblings, 0 replies; 8+ messages in thread From: glisse at gcc dot gnu.org @ 2012-11-02 16:12 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16107 Marc Glisse <glisse at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |glisse at gcc dot gnu.org --- Comment #5 from Marc Glisse <glisse at gcc dot gnu.org> 2012-11-02 16:11:43 UTC --- *** Bug 55180 has been marked as a duplicate of this bug. *** ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/16107] missed optimization with some math function builtins [not found] <bug-16107-4@http.gcc.gnu.org/bugzilla/> 2012-11-02 16:12 ` [Bug tree-optimization/16107] missed optimization with some math function builtins glisse at gcc dot gnu.org @ 2014-10-31 4:01 ` pinskia at gcc dot gnu.org 2014-12-01 4:27 ` pinskia at gcc dot gnu.org 2015-08-17 4:49 ` naveenh at gcc dot gnu.org 3 siblings, 0 replies; 8+ messages in thread From: pinskia at gcc dot gnu.org @ 2014-10-31 4:01 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16107 Bug 16107 depends on bug 15459, which changed state. Bug 15459 Summary: [meta-bug] there should be a tree combiner like the rtl one https://gcc.gnu.org/bugzilla/show_bug.cgi?id=15459 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/16107] missed optimization with some math function builtins [not found] <bug-16107-4@http.gcc.gnu.org/bugzilla/> 2012-11-02 16:12 ` [Bug tree-optimization/16107] missed optimization with some math function builtins glisse at gcc dot gnu.org 2014-10-31 4:01 ` pinskia at gcc dot gnu.org @ 2014-12-01 4:27 ` pinskia at gcc dot gnu.org 2015-08-17 4:49 ` naveenh at gcc dot gnu.org 3 siblings, 0 replies; 8+ messages in thread From: pinskia at gcc dot gnu.org @ 2014-12-01 4:27 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16107 Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org --- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I have a patch using match-and-simplify. ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/16107] missed optimization with some math function builtins [not found] <bug-16107-4@http.gcc.gnu.org/bugzilla/> ` (2 preceding siblings ...) 2014-12-01 4:27 ` pinskia at gcc dot gnu.org @ 2015-08-17 4:49 ` naveenh at gcc dot gnu.org 3 siblings, 0 replies; 8+ messages in thread From: naveenh at gcc dot gnu.org @ 2015-08-17 4:49 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16107 --- Comment #7 from naveenh at gcc dot gnu.org --- Author: naveenh Date: Mon Aug 17 04:47:45 2015 New Revision: 226934 URL: https://gcc.gnu.org/viewcvs?rev=226934&root=gcc&view=rev Log: 2015-08-17 Richard Biener <rguenther@suse.de> Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> PR middle-end/16107 * match.pd (div (coss (op @0) : New simplifier. Added: trunk/gcc/testsuite/gcc.dg/pr16107.c Modified: trunk/gcc/ChangeLog trunk/gcc/match.pd ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/16107] New: missed optimization with some math function builtins @ 2004-06-21 5:43 pinskia at gcc dot gnu dot org 2004-06-21 5:45 ` [Bug tree-optimization/16107] " pinskia at gcc dot gnu dot org ` (3 more replies) 0 siblings, 4 replies; 8+ messages in thread From: pinskia at gcc dot gnu dot org @ 2004-06-21 5:43 UTC (permalink / raw) To: gcc-bugs Even after my tree combine pass, there are some math function builtins which I still not simplify because I do not regimplify calls expression yet. I will handle this case after I sumbit and commit my tree-combiner. double t(double x) { x = -x; x = cos (x); return x; } double t1(double x) { x = cos (-x); return x; } -- Summary: missed optimization with some math function builtins Product: gcc Version: 3.5.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhancement Priority: P2 Component: tree-optimization AssignedTo: pinskia at gcc dot gnu dot org ReportedBy: pinskia at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org BugsThisDependsOn: 15459 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16107 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/16107] missed optimization with some math function builtins 2004-06-21 5:43 [Bug tree-optimization/16107] New: " pinskia at gcc dot gnu dot org @ 2004-06-21 5:45 ` pinskia at gcc dot gnu dot org 2004-06-21 5:46 ` pinskia at gcc dot gnu dot org ` (2 subsequent siblings) 3 siblings, 0 replies; 8+ messages in thread From: pinskia at gcc dot gnu dot org @ 2004-06-21 5:45 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-06-21 05:45 ------- Mine. -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Ever Confirmed| |1 Last reconfirmed|0000-00-00 00:00:00 |2004-06-21 05:45:41 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16107 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/16107] missed optimization with some math function builtins 2004-06-21 5:43 [Bug tree-optimization/16107] New: " pinskia at gcc dot gnu dot org 2004-06-21 5:45 ` [Bug tree-optimization/16107] " pinskia at gcc dot gnu dot org @ 2004-06-21 5:46 ` pinskia at gcc dot gnu dot org 2004-08-29 19:36 ` pinskia at gcc dot gnu dot org 2005-07-12 21:26 ` pinskia at gcc dot gnu dot org 3 siblings, 0 replies; 8+ messages in thread From: pinskia at gcc dot gnu dot org @ 2004-06-21 5:46 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-06-21 05:46 ------- I should note that cos(-x) == cos(x); -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16107 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/16107] missed optimization with some math function builtins 2004-06-21 5:43 [Bug tree-optimization/16107] New: " pinskia at gcc dot gnu dot org 2004-06-21 5:45 ` [Bug tree-optimization/16107] " pinskia at gcc dot gnu dot org 2004-06-21 5:46 ` pinskia at gcc dot gnu dot org @ 2004-08-29 19:36 ` pinskia at gcc dot gnu dot org 2005-07-12 21:26 ` pinskia at gcc dot gnu dot org 3 siblings, 0 replies; 8+ messages in thread From: pinskia at gcc dot gnu dot org @ 2004-08-29 19:36 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-08-29 19:36 ------- The two FIXMEs in my tree combiner: /* FIXME: do not abort for the call case as this can happen for an example -cos(-a) == cos (a) but this does not show up here as we reject it when calculating the size. */ /* If we have more than three or zero, we cannot handle this case so we return a relatively huge count saying we cannot handle it. FIXME: Handle the cost of a call expression. */ -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16107 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug tree-optimization/16107] missed optimization with some math function builtins 2004-06-21 5:43 [Bug tree-optimization/16107] New: " pinskia at gcc dot gnu dot org ` (2 preceding siblings ...) 2004-08-29 19:36 ` pinskia at gcc dot gnu dot org @ 2005-07-12 21:26 ` pinskia at gcc dot gnu dot org 3 siblings, 0 replies; 8+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-07-12 21:26 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-12 21:25 ------- It might be a while for me to rewrite the tree combiner so unassigning for now. -- What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|pinskia at gcc dot gnu dot |unassigned at gcc dot gnu |org |dot org Status|ASSIGNED |NEW http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16107 ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2015-08-17 4:49 UTC | newest] Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <bug-16107-4@http.gcc.gnu.org/bugzilla/> 2012-11-02 16:12 ` [Bug tree-optimization/16107] missed optimization with some math function builtins glisse at gcc dot gnu.org 2014-10-31 4:01 ` pinskia at gcc dot gnu.org 2014-12-01 4:27 ` pinskia at gcc dot gnu.org 2015-08-17 4:49 ` naveenh at gcc dot gnu.org 2004-06-21 5:43 [Bug tree-optimization/16107] New: " pinskia at gcc dot gnu dot org 2004-06-21 5:45 ` [Bug tree-optimization/16107] " pinskia at gcc dot gnu dot org 2004-06-21 5:46 ` pinskia at gcc dot gnu dot org 2004-08-29 19:36 ` pinskia at gcc dot gnu dot org 2005-07-12 21:26 ` pinskia at gcc dot gnu dot 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).