Re: [PATCH], PowerPC, Patch #6, Create pc-relative addressing insns

2019-07-10 Thread Segher Boessenkool
On Wed, Jul 10, 2019 at 01:56:07PM -0400, Michael Meissner wrote: > On Wed, Jul 10, 2019 at 12:11:49PM -0500, Segher Boessenkool wrote: > > On Tue, Jul 09, 2019 at 06:30:00PM -0400, Michael Meissner wrote: > > > @@ -8760,12 +8762,34 @@ rs6000_cannot_force_const_mem (machine_m > > > static bool > >

Re: [PATCH], PowerPC, Patch #6, Create pc-relative addressing insns

2019-07-10 Thread Michael Meissner
On Wed, Jul 10, 2019 at 12:11:49PM -0500, Segher Boessenkool wrote: > Hi Mike, > > On Tue, Jul 09, 2019 at 06:30:00PM -0400, Michael Meissner wrote: > > @@ -8760,12 +8762,34 @@ rs6000_cannot_force_const_mem (machine_m > > static bool > > use_toc_relative_ref (rtx sym, machine_mode mode) > > { >

Re: [PATCH], PowerPC, Patch #6, Create pc-relative addressing insns

2019-07-10 Thread Segher Boessenkool
Hi Mike, On Tue, Jul 09, 2019 at 06:30:00PM -0400, Michael Meissner wrote: > @@ -8760,12 +8762,34 @@ rs6000_cannot_force_const_mem (machine_m > static bool > use_toc_relative_ref (rtx sym, machine_mode mode) > { > - return ((constant_pool_expr_p (sym) > -&& ASM_OUTPUT_SPECIAL_POOL_ENTR

[PATCH], PowerPC, Patch #6, Create pc-relative addressing insns

2019-07-09 Thread Michael Meissner
This patch updates the basic support for pc-relative addressing that will be added in a future machine. It was originally proposed as patch #4: https://gcc.gnu.org/ml/gcc-patches/2019-06/msg01866.html Segher suggested that I split out moving create_TOC_reference back to rs6000.c as a separate pat