This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: remarks about g++ 4.3 and some comparison to msvc & icc on ia32
- From: Mark Mitchell <mark at codesourcery dot com>
- To: tbp <tbptbp at gmail dot com>
- Cc: GCC Development <gcc at gcc dot gnu dot org>
- Date: Sun, 28 Jan 2007 10:56:06 -0800
- Subject: Re: remarks about g++ 4.3 and some comparison to msvc & icc on ia32
- References: <4fc48eb10701280104q1a53c37cpc888d11b0c62159d@mail.gmail.com>
tbp wrote:
> Secundo, while i very much appreciate the brand new string ops, it
> seems that on ia32 some array initialization cases where left out,
> hence i still see oodles of 'movl $0x0' when generating code for k8.
> Also those zeroings get coalesced at the top of functions on ia32, and
> i have a function where there's 3 pages of those right after prologue.
> See the attached 'grep 'movl $0x0' dump.
It looks like Jan and Richard have answered some of your questions about
inlining (or are in the process of doing so), but I haven't seen a
response to this point.
Certainly, if we're generating zillions of zero-initializations to
contiguous memory, rather than using memset, or an inline loop, that
seems unfortunate. Would you please file a bug report?
Thanks,
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713