This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Valgrind-developers] Memcheck optimisation level; Makefile.amincludes


On Wed, 25 Aug 2004, Andrew Haley wrote:

> Ah, I didn't think of that, I think it answers the question... for
> vgskin_lackey.so, I get the following sizes:
>
>    normal:               26577
>    -fomit-fp:            27299
>
>    normal stripped:       7780
>    -fomit-fp stripped:    7748
>
> The stripped versions look as expected, ie. with -fomit-fp it is smaller.

Only by 0.4%, which is nearly at the level of noise.  Is this true of
the other executables as well?

For vgskin_memcheck.so, the biggest of the relevant files:


  normal:              242344
  -fomit-fp:           261268

  normal stripped:      90588
  -fomit-fp stripped:   90044

The difference is 0.6%.

I guess the conclusion is that -fomit-fp does make things smaller when no debug info is present, but not by much. And that this is because although fewer instructions are generated, those generated are on average longer...

N


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]