public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Daniel Berlin <dan@cgsoftware.com>
To: Zack Weinberg <zack@codesourcery.com>
Cc: Diego Novillo <dnovillo@redhat.com>, gcc@gcc.gnu.org
Subject: Re: better -Wuninitialized (Re: Ada files now checked in)
Date: Sun, 07 Oct 2001 12:06:00 -0000	[thread overview]
Message-ID: <5DC2787E-BB56-11D5-9E2C-0030657B5340@cgsoftware.com> (raw)
In-Reply-To: <20011007115518.Q9432@codesourcery.com>

>
>> In tree SSA we call calculate_dominance_info and
>> compute_dominance_frontiers directly.  Also, the code uses
>> sbitmaps quite frequently.  The bitmaps are typically
>> O(n_basic_blocks).  What problem are you referring to?
>
> The bitmaps are probably sparse,
Definitely, actually.
Dominance frontiers have to be sparse.

>  and n_basic_blocks can blow up, at
> which point your memory usage blows up too.  Brad Lucier has some good
> examples of this problem.
Yes, but i'm taking care of this, so no worries.
Without ssa even enabled, the new bitmaps i'm performance tuning 
(still),  saves about 30% memory over current bitmaps.
For instance, compiling one file (I can't remember if it's expr.c or 
20001226-1.c, i forget at the moment) at -O2 normally takes 130 meg, 
peak. It now takes 100 meg, peak.
This is without modifying anything to use sparse bitmaps, just replacing 
the existing bitmap implementation.

>
> zw

  reply	other threads:[~2001-10-07 12:06 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-06 18:25 Ada files now checked in dewar
2001-10-07  0:38 ` Diego Novillo
2001-10-07  0:59   ` Zack Weinberg
2001-10-07 10:24     ` Diego Novillo
2001-10-07 10:53       ` better -Wuninitialized (Re: Ada files now checked in) Zack Weinberg
2001-10-07 10:57         ` Joseph S. Myers
2001-10-07 11:23           ` Diego Novillo
2001-10-07 11:21         ` Diego Novillo
2001-10-07 11:55           ` Zack Weinberg
2001-10-07 12:06             ` Daniel Berlin [this message]
2001-10-07 16:01             ` Diego Novillo
2001-10-07 11:29         ` Daniel Berlin
2001-10-07 11:05       ` Ada files now checked in Daniel Berlin
2001-10-07 11:29         ` Diego Novillo
2001-10-07 11:37           ` Daniel Berlin
2001-10-14  7:53       ` Joern Rennecke
2001-10-07 15:19 better -Wuninitialized (Re: Ada files now checked in) dewar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5DC2787E-BB56-11D5-9E2C-0030657B5340@cgsoftware.com \
    --to=dan@cgsoftware.com \
    --cc=dnovillo@redhat.com \
    --cc=gcc@gcc.gnu.org \
    --cc=zack@codesourcery.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).