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.