On Thu, Dec 20, 2012 at 02:20:22PM +0000, Stuart Henderson wrote: > On 2012/12/20 13:54, Edd Barrett wrote: > > We could: > > * Turn on -O3 unconditionally for selected ports. > > * Turn on -O3 for selected ports on a subset of architectures. > > * Make -O3 package flavours for selected ports. > > * Any other suggestions? > > > > I prefer one of the first two options. > > I prefer 2. > > On i386 you might also want to experiment with -fomit-frame-pointer which > frees up another register (of which i386 does not have many in the first > place) and avoids a couple of instructions per function call, at the > expense of debuggers not working with the produced object code. I concur; it makes most sense for emulators and stuff like that on arches that can really benefit from the extra (and safe) optimizations.
-- Cheers, Jasper "Stay Hungry. Stay Foolish"