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: PowerPC 'future' patches introduction


Hi Mike,

On Wed, Aug 14, 2019 at 04:57:32PM -0400, Michael Meissner wrote:
> to the current location instead of a base register, giving pc-relative
> addressing.  Pc-relative addressing will be supported in the next ABI (3.1) as
> an alternative to the current TOC based addressing.

That's not an ABI version, that's an ISA version.  But it will be in a
future ELFv2 ABI version, yes.

> The fifth patch switches the default when you use -mcpu=future to use
> pc-relative instructions instead of using the TOC by default.

As David reminded me, you should only do this on OSes where this works.
Only for ABIs that support PCREL, even?  Or both.

> The seventh patch adds a new RTL pass to implement the PCREL_OPT relocations
> that will be part of the ISA 3.1 specification.

Some version of the ELFv2 ABI again?


Segher


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