Should -fcross-jumping be part of -O1?
Scott Robert Ladd
coyote@coyotegulch.com
Tue Dec 2 14:09:00 GMT 2003
Zack Weinberg wrote:
> Incidentally, Scott, I would encourage you to submit patches for 3.4
> that adjust the default optimization sets, if you can find
> better-in-general settings.
The problem is finding a single set of optimizations that works well for
all types of code. A flag that optimizes one section of a program may
pessimize another. In many of my tests, a few options vastly improve the
performance of a given algorithm, while one or two other options
pessimize the same code.
That said, I have tentatively identified some general improvements. I
need to carefully look at code size and compile times before doing
something like adding -ftracer to -O3. Then I'll likely submit a patch
or two, even if I don't have a contract.
;)
[sarcasm: on]
Of course, now that I understand how GCC development works, I'm more
than happy to accept any dollars (euros, yen, etc.) sent my way. I
wouldn't want to do anything as a public service, and undermine the
financial incentives enjoyed by so many.
[sarcasm: off]
..Scott "Please send money" Ladd
--
Scott Robert Ladd
Coyote Gulch Productions (http://www.coyotegulch.com)
Software Invention for High-Performance Computing
More information about the Gcc
mailing list