This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RFC: eliminate some dead stores
- From: Joe Buck <Joe dot Buck at synopsys dot com>
- To: dann at godzilla dot ics dot uci dot edu (Dan Nicolaescu)
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 3 Jun 2002 11:16:45 -0700 (PDT)
- Subject: Re: RFC: eliminate some dead stores
> > I believe this to be the #1 performance problem in GNU C++. Any STL-like
> > code that uses iterators with more than one data member generates tons
> > of dead stores. As I've said before, the Stepanov benchmark is misleading
> > as it only tests the cases we're good at.
>
> If you have testcases, please post them!
Boost should has lots of them, particularly in the graph library. This part
of Boost was originally the Generic Graph Component Library, and the GGCL
developers found that KAI C++ was vastly better than C++ on it, for
this reason. To do as well as KAI we would have to be able to allocate
structs as seperate scalars, but just being able to kill dead stores
would help a lot.