--- 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.
--
--- 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
--- 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.
--- 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
--- 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
--- 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
--
What|Removed |Added
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23971
--- 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
--- 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
--- 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
--- 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|
--- 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
--- 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
13 matches
Mail list logo