* [Bug tree-optimization/18687] [4.0 Regression] ~50% compile time regression
2004-11-27 4:30 [Bug tree-optimization/18687] New: [4.0 Regression] ~50% compile time regression belyshev at lubercy dot com
@ 2004-11-27 4:31 ` belyshev at lubercy dot com
2004-11-27 4:32 ` belyshev at lubercy dot com
` (11 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: belyshev at lubercy dot com @ 2004-11-27 4:31 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From belyshev at lubercy dot com 2004-11-27 04:31 -------
Created an attachment (id=7616)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7616&action=view)
3338 bytes
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18687
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/18687] [4.0 Regression] ~50% compile time regression
2004-11-27 4:30 [Bug tree-optimization/18687] New: [4.0 Regression] ~50% compile time regression belyshev at lubercy dot com
2004-11-27 4:31 ` [Bug tree-optimization/18687] " belyshev at lubercy dot com
@ 2004-11-27 4:32 ` belyshev at lubercy dot com
2004-11-27 4:42 ` pinskia at gcc dot gnu dot org
` (10 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: belyshev at lubercy dot com @ 2004-11-27 4:32 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From belyshev at lubercy dot com 2004-11-27 04:32 -------
Created an attachment (id=7617)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7617&action=view)
9535 bytes
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18687
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/18687] [4.0 Regression] ~50% compile time regression
2004-11-27 4:30 [Bug tree-optimization/18687] New: [4.0 Regression] ~50% compile time regression belyshev at lubercy dot com
2004-11-27 4:31 ` [Bug tree-optimization/18687] " belyshev at lubercy dot com
2004-11-27 4:32 ` belyshev at lubercy dot com
@ 2004-11-27 4:42 ` pinskia at gcc dot gnu dot org
2004-11-27 15:47 ` pinskia at gcc dot gnu dot org
` (9 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-27 4:42 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18687
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/18687] [4.0 Regression] ~50% compile time regression
2004-11-27 4:30 [Bug tree-optimization/18687] New: [4.0 Regression] ~50% compile time regression belyshev at lubercy dot com
` (2 preceding siblings ...)
2004-11-27 4:42 ` pinskia at gcc dot gnu dot org
@ 2004-11-27 15:47 ` pinskia at gcc dot gnu dot org
2004-11-27 18:44 ` belyshev at lubercy dot com
` (8 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-27 15:47 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-27 15:47 -------
Hmm, These are really short compile times to begin with. Almost anything this short could be
considered just error but then again, the compile time for me on ppc-darwin was about the same time
as 3.3 as 4.0.0.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18687
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/18687] [4.0 Regression] ~50% compile time regression
2004-11-27 4:30 [Bug tree-optimization/18687] New: [4.0 Regression] ~50% compile time regression belyshev at lubercy dot com
` (3 preceding siblings ...)
2004-11-27 15:47 ` pinskia at gcc dot gnu dot org
@ 2004-11-27 18:44 ` belyshev at lubercy dot com
2004-11-30 13:09 ` pinskia at gcc dot gnu dot org
` (7 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: belyshev at lubercy dot com @ 2004-11-27 18:44 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From belyshev at lubercy dot com 2004-11-27 18:44 -------
Created an attachment (id=7618)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7618&action=view)
perl script (463 bytes)
Use this script to get more accurate timings. (install
http://search.cpan.org/~jhi/BSD-Resource-1.24/ if you want to get even more
accurate timings).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18687
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/18687] [4.0 Regression] ~50% compile time regression
2004-11-27 4:30 [Bug tree-optimization/18687] New: [4.0 Regression] ~50% compile time regression belyshev at lubercy dot com
` (4 preceding siblings ...)
2004-11-27 18:44 ` belyshev at lubercy dot com
@ 2004-11-30 13:09 ` pinskia at gcc dot gnu dot org
2004-11-30 13:11 ` pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-30 13:09 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-30 13:09 -------
Confirmed, how many new builtins do we have between 3.4.x and 4.0.0, this will most likely account for
the -O0 time.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-11-30 13:09:22
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18687
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/18687] [4.0 Regression] ~50% compile time regression
2004-11-27 4:30 [Bug tree-optimization/18687] New: [4.0 Regression] ~50% compile time regression belyshev at lubercy dot com
` (5 preceding siblings ...)
2004-11-30 13:09 ` pinskia at gcc dot gnu dot org
@ 2004-11-30 13:11 ` pinskia at gcc dot gnu dot org
2004-11-30 14:32 ` pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-30 13:11 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-30 13:10 -------
In both of my profiles for -O0 and -O1, I see that is_attribute_p is always high up there.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18687
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/18687] [4.0 Regression] ~50% compile time regression
2004-11-27 4:30 [Bug tree-optimization/18687] New: [4.0 Regression] ~50% compile time regression belyshev at lubercy dot com
` (6 preceding siblings ...)
2004-11-30 13:11 ` pinskia at gcc dot gnu dot org
@ 2004-11-30 14:32 ` pinskia at gcc dot gnu dot org
2004-11-30 14:57 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-30 14:32 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-30 14:32 -------
At -O2 and -O3 also I see is_attribute_p is always taking 2% of the time.
At -O0:
- is_attribute_p - 6%
- decode_reg_name - 2.1%
at -O1:
- is_attribute_p - 2.5%
- decode_reg_name 0.8%
at -O2:
- is_attribute_p - 1.9%
- decode_reg_name - 0.5%
at -O3 (this was a bigger sample than the obove ones):
- is_attribute_p - 1.8%
- decode_reg_name - 0.6%
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18687
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/18687] [4.0 Regression] ~50% compile time regression
2004-11-27 4:30 [Bug tree-optimization/18687] New: [4.0 Regression] ~50% compile time regression belyshev at lubercy dot com
` (7 preceding siblings ...)
2004-11-30 14:32 ` pinskia at gcc dot gnu dot org
@ 2004-11-30 14:57 ` pinskia at gcc dot gnu dot org
2004-11-30 15:17 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-30 14:57 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-30 14:57 -------
I have a fix for decode_reg_name and there is a branch with the fix for is_attribute_p, maybe that
should be merged in ...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18687
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/18687] [4.0 Regression] ~50% compile time regression
2004-11-27 4:30 [Bug tree-optimization/18687] New: [4.0 Regression] ~50% compile time regression belyshev at lubercy dot com
` (8 preceding siblings ...)
2004-11-30 14:57 ` pinskia at gcc dot gnu dot org
@ 2004-11-30 15:17 ` pinskia at gcc dot gnu dot org
2004-12-02 14:06 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-30 15:17 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-30 15:17 -------
The patch to fix decode_reg_name is here: <http://gcc.gnu.org/ml/gcc-patches/2004-11/
msg02683.html>, I don't know how much this buys us but should buys us at -O0 about 2%.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18687
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/18687] [4.0 Regression] ~50% compile time regression
2004-11-27 4:30 [Bug tree-optimization/18687] New: [4.0 Regression] ~50% compile time regression belyshev at lubercy dot com
` (9 preceding siblings ...)
2004-11-30 15:17 ` pinskia at gcc dot gnu dot org
@ 2004-12-02 14:06 ` pinskia at gcc dot gnu dot org
2004-12-02 15:27 ` pinskia at gcc dot gnu dot org
2004-12-03 0:24 ` belyshev at lubercy dot com
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-02 14:06 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-02 14:06 -------
Can you try again after my patch to varasm.c, I cannot get any accrete results on these tests.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18687
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/18687] [4.0 Regression] ~50% compile time regression
2004-11-27 4:30 [Bug tree-optimization/18687] New: [4.0 Regression] ~50% compile time regression belyshev at lubercy dot com
` (10 preceding siblings ...)
2004-12-02 14:06 ` pinskia at gcc dot gnu dot org
@ 2004-12-02 15:27 ` pinskia at gcc dot gnu dot org
2004-12-03 0:24 ` belyshev at lubercy dot com
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-02 15:27 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-02 15:27 -------
Patch to speedup lookup_attribute here: <http://gcc.gnu.org/ml/gcc-patches/2004-12/
msg00164.html>, this should help but not all 6% at -O0.
Note for -O0, we are slowing down because there are more attributes and more builtins functions for
4.0.0 compared with 3.4.x.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18687
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug tree-optimization/18687] [4.0 Regression] ~50% compile time regression
2004-11-27 4:30 [Bug tree-optimization/18687] New: [4.0 Regression] ~50% compile time regression belyshev at lubercy dot com
` (11 preceding siblings ...)
2004-12-02 15:27 ` pinskia at gcc dot gnu dot org
@ 2004-12-03 0:24 ` belyshev at lubercy dot com
12 siblings, 0 replies; 14+ messages in thread
From: belyshev at lubercy dot com @ 2004-12-03 0:24 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From belyshev at lubercy dot com 2004-12-03 00:24 -------
3.4.4 4.0.0 delta
hashes.c:
-O0 0.0515 0.0526 2%
-O1 0.078 0.157 101%
-O2 0.123 0.198 61%
infcodes.c:
-O0 0.0907 0.0933 3%
-O1 0.137 0.248 81%
-O2 0.224 0.328 46%
Average speedup (not only -O0) is 6%.
--
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2004-11-30 13:09:22 |2004-12-03 00:24:07
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18687
^ permalink raw reply [flat|nested] 14+ messages in thread