This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: Patch for gcc-5/changes.html


> +      <li>In GCC-4.9 and earlier releases PIC hard register was fixed
> +          and was not used for other purposes when PIC code was
> +          generated.  Reuse of PIC hard register was implemented in RA
> +          for GCC-5.0.  It improves generated PIC code performance as
> +          more hard registers can be used.  As an example, shared
> +          libraries and OS Android would significantly benefit from
> +          such optimization.  Currently it is switched on only for
> +          x86/x86-64 targets.  As RA infrastructure is already
> +          implemented for PIC register reuse, other targets might
> +          follow this in the future.</li>

PIC was always huge performance disaster on x86, I suppose with this patch in,
-fPIC benchmarks should improve quite noticeably ;)

Thanks!
Honza


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]