Mike Stump <mrs@apple.com> writes:
Well, if all else fails, you can build compilers from the cvs tree,
and binary search for when code generation changed from good to bad
for you.
That possibly could reveal what's at the root of the issue, but it
would not solve my problem which is to get my application to perform
well on today's distributions. Every Linux distribution is now based
on gcc 3.2, thus I must get the Oz emulator to perform well when
compiled with it.
I'd do this only after experimenting with the top of the tree (to
ensure performance hasn't already returned for you),
yes, I definitely plan to experiment with gcc out of CVS to see what I
can expect in the future. However, for the moment (1) I must solve
the remaining issues introduced with the switch to the new ABI, (2) I
need to make it reasonably fast across the board for the current user
base.
and experimenting
with all the relevant compiler flags, for example, see the following
parameters: max-inline-insns-single, max-inline-insns,
max-inline-slope, and min-inline-insns.
uh? except for max-inline-insns, I never heard of the others. Are
these new (and what do they mean? - is that maybe documented in CVS).
I'll assume all of these are documented in the manual, if all else
fails, you can read it, and it that fails, you can see params.def: