public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [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; 5+ 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] 5+ messages in thread
* [Bug tree-optimization/16107] missed optimization with some math function builtins
2004-06-21 5:43 [Bug tree-optimization/16107] New: missed optimization with some math function builtins 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; 5+ 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] 5+ messages in thread
* [Bug tree-optimization/16107] missed optimization with some math function builtins
2004-06-21 5:43 [Bug tree-optimization/16107] New: missed optimization with some math function builtins 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; 5+ 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] 5+ messages in thread
* [Bug tree-optimization/16107] missed optimization with some math function builtins
2004-06-21 5:43 [Bug tree-optimization/16107] New: missed optimization with some math function builtins 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; 5+ 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] 5+ messages in thread
* [Bug tree-optimization/16107] missed optimization with some math function builtins
2004-06-21 5:43 [Bug tree-optimization/16107] New: missed optimization with some math function builtins 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; 5+ 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] 5+ messages in thread
end of thread, other threads:[~2005-07-12 21:25 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-21 5:43 [Bug tree-optimization/16107] New: missed optimization with some math function builtins 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).