[PATCH 1/X, i386, PR54232] Enable EBX for x86 in 32bits PIC code

H.J. Lu hjl.tools@gmail.com
Tue Oct 14 17:02:00 GMT 2014


On Tue, Oct 14, 2014 at 9:43 AM, Jeff Law <law@redhat.com> wrote:
>
> RA improvements are the way to go -- however, my understanding is that
> overall the code is better now than it was before Intel's changes, so I
> don't consider the performance side as a blocker for this code.
>

The new approach improves PIC code quality in functions where there
no frequent GOT access and extra register helps.

For ld.so and libc.so from glibc build, we use 2 registers to access GOT
instead of one register which may lead to lower performance in shared
libraries.


-- 
H.J.



More information about the Gcc-patches mailing list