Re: [PATCH] rs6000: Add basic support for prefixed and PC-relative addresses

2019-05-30 Thread Michael Meissner
On Thu, May 30, 2019 at 02:43:49PM -0500, Bill Schmidt wrote: > On 5/30/19 2:20 PM, Segher Boessenkool wrote: > > On Wed, May 29, 2019 at 10:49:35PM -0500, Bill Schmidt wrote: > >>* config/rs6000/predicates.md (pcrel_address): New > >>define_predicate. > > Please put that on one line? > >

Re: [PATCH] rs6000: Add basic support for prefixed and PC-relative addresses

2019-05-30 Thread Segher Boessenkool
On Thu, May 30, 2019 at 02:43:49PM -0500, Bill Schmidt wrote: > On 5/30/19 2:20 PM, Segher Boessenkool wrote: > > On Wed, May 29, 2019 at 10:49:35PM -0500, Bill Schmidt wrote: > >>* config/rs6000/predicates.md (pcrel_address): New > >>define_predicate. > > Please put that on one line? > >

Re: [PATCH] rs6000: Add basic support for prefixed and PC-relative addresses

2019-05-30 Thread Bill Schmidt
On 5/30/19 2:20 PM, Segher Boessenkool wrote: > On Wed, May 29, 2019 at 10:49:35PM -0500, Bill Schmidt wrote: >> * config/rs6000/predicates.md (pcrel_address): New >> define_predicate. > Please put that on one line? OK.  Emacs in ChangeLog and Fill modes seems to set a line length somewh

Re: [PATCH] rs6000: Add basic support for prefixed and PC-relative addresses

2019-05-30 Thread Segher Boessenkool
On Wed, May 29, 2019 at 10:49:35PM -0500, Bill Schmidt wrote: > * config/rs6000/predicates.md (pcrel_address): New > define_predicate. Please put that on one line? > + if (LABEL_REF_P (x)) > + output_asm_label (x); > + else > + output_addr_const (file, x); Why does

[PATCH] rs6000: Add basic support for prefixed and PC-relative addresses

2019-05-29 Thread Bill Schmidt
Hi, This patch adds basic infrastructure for prefixed and PC-relative addresses, including new predicates and functions to detect when they apply. Bootstrapped and tested on powerpc64le-unknown-linux-gnu with no regressions. Is this okay for trunk? Thanks, Bill 2019-05-29 Bill Schmidt