This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH 1/X, i386, PR54232] Enable EBX for x86 in 32bits PIC code
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Jeff Law <law at redhat dot com>
- Cc: Jakub Jelinek <jakub at redhat dot com>, Evgeny Stupachenko <evstupac at gmail dot com>, Vlad Makarov <vmakarov at redhat dot com>, Uros Bizjak <ubizjak at gmail dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 14 Oct 2014 09:55:45 -0700
- Subject: Re: [PATCH 1/X, i386, PR54232] Enable EBX for x86 in 32bits PIC code
- Authentication-results: sourceware.org; auth=none
- References: <CAOvf_xwaSa3++A31O56FqfW_LQsNfAtBTpwZ-3d+XXAiuf03Yw at mail dot gmail dot com> <5438035A dot 1030408 at redhat dot com> <20141014130051 dot GB10376 at tucnak dot redhat dot com> <543D52C1 dot 5020903 at redhat dot com>
On Tue, Oct 14, 2014 at 9:43 AM, Jeff Law <firstname.lastname@example.org> 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