This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/27733] [4.1/4.2 Regression] Large compile time regression
- From: "bonzini at gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Jun 2006 12:24:40 -0000
- Subject: [Bug middle-end/27733] [4.1/4.2 Regression] Large compile time regression
- References: <bug-27733-276@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #11 from bonzini at gnu dot org 2006-06-08 12:24 -------
OUCH! The number is stored as a unsigned int in the cache, which means that
numbers > 2^32 never hit the cache!
Besides that, it's wise to enlarge the cache for 64-bit hosts, because there
every EXACT_DIV_EXPR will call synth_mult with a very large multiplier. Time
for a -O0 compiler on the reduced testcase is down to 0.3s for 2069 cache
entries, and 0.8s for 1031 cache entries.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27733