GCC built with latest binutils and the patch give the following
performance improve:
spec2000INT +3% at "-O2 -m32", +1,5% at "-O2 -m64".
Some other benchmark scores at "-O2" were also improved up to 6%.
The patch is very efficient for PIE mode.
Thanks,
Evgeny
On Tue, May 5, 2015 at 6:30 PM, H.J
On Wed, Apr 22, 2015 at 9:34 AM, H.J. Lu wrote:
> Normally, with PIE, GCC accesses globals that are extern to the module
> using GOT. This is two instructions, one to get the address of the global
> from GOT and the other to get the value. Examples:
>
> ---
> extern int a_glob;
> int
> main ()
>