Optimization
Ian Lance Taylor
ian@wasabisystems.com
Tue Apr 27 15:23:00 GMT 2004
Brian D.McGrew <brian@visionpro.com> writes:
> so what flag can I give gcc to tell it to inline everything, or as
> much as possible??? Our code already takes 16 hours to build on
> sparc, using -O2 -g -finline-limit=2750.
I suppose you could use a larger -finline-limit value.
> I've profiled the code but I'm not exactly sure what to do with it now
> that I've got it. Someone sail something about gproff but I don't
> know exactly what I'm looking for.
If you haven't run gprof, or some other profiling program, then you
haven't yet profiled the code. I'm sure there is documentation out
there which can help. I'm sorry, but this is not something which I am
prepared to walk you through.
Ian
More information about the Gcc-help
mailing list