[Bug middle-end/23971] [4.0/4.1 Regression] synth_mult running amok

2005-09-28 Thread tsv at solvo dot ru
--- Additional Comments From tsv at solvo dot ru 2005-09-28 18:07 --- Retested in idle machine: patch1 -O2 -mcpu=ev4 - 7 minutes patch2 -O2 -mcpu=ev4 - 1.30 minutes patch1 -O2 -mcpu=ev5 - 30 secs patch2 -O2 -mcpu=ev5 - 13.6 secs It does make a difference. :) Thank you. --

[Bug middle-end/23971] [4.0/4.1 Regression] synth_mult running amok

2005-09-27 Thread tsv at solvo dot ru
--- Additional Comments From tsv at solvo dot ru 2005-09-27 18:42 --- Yes, I tested the reported gcc version just with your patch. After trying to trace synth_mult I started to think that there should be a simplier way. :) In my testcase the choose_mult_variant was called with following

[Bug middle-end/23971] [4.0/4.1 Regression] synth_mult running amok

2005-09-24 Thread tsv at solvo dot ru
--- Additional Comments From tsv at solvo dot ru 2005-09-24 20:29 --- It takes about 10 minutes to compile attached testcase with -O2 -mcpu=ev4 and about 2 minutes for -O2 -mcpu=ev5 (compiled on EV45 233Mhz). The difference is in cost of multiply op - 100 for ev4 and about 54 for ev5.

[Bug middle-end/23971] [4.0/4.1 Regression] synth_mult running amok

2005-09-24 Thread kazu at gcc dot gnu dot org
--- Additional Comments From kazu at gcc dot gnu dot org 2005-09-24 23:58 --- (In reply to comment #12) It takes about 10 minutes to compile attached testcase with -O2 -mcpu=ev4 and about 2 minutes for -O2 -mcpu=ev5 (compiled on EV45 233Mhz). The difference is in cost of multiply op

[Bug middle-end/23971] [4.0/4.1 Regression] synth_mult running amok

2005-09-21 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-09-21 16:48 --- Subject: Bug 23971 CVSROOT:/cvs/gcc Module name:gcc Changes by: [EMAIL PROTECTED] 2005-09-21 16:47:47 Modified files: gcc: ChangeLog Log message: PR

[Bug middle-end/23971] [4.0/4.1 Regression] synth_mult running amok

2005-09-21 Thread kazu at gcc dot gnu dot org
--- Additional Comments From kazu at gcc dot gnu dot org 2005-09-21 16:50 --- Just checked in a patch. -- What|Removed |Added Status|ASSIGNED

[Bug middle-end/23971] [4.0/4.1 Regression] synth_mult running amok

2005-09-21 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added Target Milestone|--- |4.1.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23971

[Bug middle-end/23971] [4.0, 4.1 regression] synth_mult running amok

2005-09-20 Thread falk at debian dot org
--- Additional Comments From falk at debian dot org 2005-09-20 13:01 --- This is also reproducible with 4.0.2 20050913, but not 3.4.5 20050821 (well, it takes 0.5 seconds there, which also seems quite excessive). -- What|Removed |Added

[Bug middle-end/23971] [4.0, 4.1 regression] synth_mult running amok

2005-09-20 Thread bonzini at gcc dot gnu dot org
--- Additional Comments From bonzini at gcc dot gnu dot org 2005-09-20 13:33 --- This one is reproducible everywhere: long long f(long long x) { return x * 5445825408751490200ULL; } -- What|Removed |Added

[Bug middle-end/23971] [4.0, 4.1 regression] synth_mult running amok

2005-09-20 Thread bonzini at gcc dot gnu dot org
--- Additional Comments From bonzini at gcc dot gnu dot org 2005-09-20 13:38 --- no, it's not, sorry for the noise. it only does 210 synth_mult calls. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23971

[Bug middle-end/23971] [4.0/4.1 Regression] synth_mult running amok

2005-09-20 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-20 14:55 --- CCing Roger since he understands synth_mult. -- What|Removed |Added CC|

[Bug middle-end/23971] [4.0/4.1 Regression] synth_mult running amok

2005-09-20 Thread kazu at gcc dot gnu dot org
--- Additional Comments From kazu at gcc dot gnu dot org 2005-09-20 19:28 --- On alpha-linux-gnu, synth_mult is called 20 million times. I've got one idea that might or might not work. Currently, synth_mult records successful cases in it hash/cache. That is, if synth_mult determines

[Bug middle-end/23971] [4.0/4.1 Regression] synth_mult running amok

2005-09-20 Thread kazu at gcc dot gnu dot org
--- Additional Comments From kazu at gcc dot gnu dot org 2005-09-20 22:12 --- OK, with my idea I can cut down the number of calls to synth_mult to 1.4 million. I may be able to improve further by recording the cost in successful cases. -- What|Removed