Re: [PATCH] rs6000: Add undocumented switch -mprefixed-addr

2019-06-02 Thread Segher Boessenkool
On Thu, May 30, 2019 at 12:01:45PM -0400, Michael Meissner wrote: > On Wed, May 29, 2019 at 03:26:27PM -0500, Bill Schmidt wrote: > > On 5/29/19 8:16 AM, Segher Boessenkool wrote: > > >> +/* ISA masks setting fusion options. */ > > >> +#define OTHER_FUSION_MASKS (OPTION_MASK_P8_FUSION

Re: [PATCH] rs6000: Add undocumented switch -mprefixed-addr

2019-05-30 Thread Michael Meissner
On Wed, May 29, 2019 at 03:26:27PM -0500, Bill Schmidt wrote: > On 5/29/19 8:16 AM, Segher Boessenkool wrote: > > Hi! > > > > On Wed, May 29, 2019 at 07:42:38AM -0500, Bill Schmidt wrote: > >>* rs6000-cpus.def (OTHER_FUSION_MASKS): New #define. > >>(ISA_FUTURE_MASKS_SERVER): Add OPTION_MASK

Re: [PATCH] rs6000: Add undocumented switch -mprefixed-addr

2019-05-29 Thread Segher Boessenkool
On Wed, May 29, 2019 at 03:26:27PM -0500, Bill Schmidt wrote: > >> @@ -36379,6 +36391,7 @@ static struct rs6000_opt_mask const > >> rs6000_opt_masks[] = > >>{ "power9-vector", OPTION_MASK_P9_VECTOR, false, > >> true }, > >>{ "powerpc-gfxopt", OPTION_MASK

Re: [PATCH] rs6000: Add undocumented switch -mprefixed-addr

2019-05-29 Thread Bill Schmidt
On 5/29/19 8:16 AM, Segher Boessenkool wrote: > Hi! > > On Wed, May 29, 2019 at 07:42:38AM -0500, Bill Schmidt wrote: >> * rs6000-cpus.def (OTHER_FUSION_MASKS): New #define. >> (ISA_FUTURE_MASKS_SERVER): Add OPTION_MASK_PREFIXED_ADDR. Mask off >> OTHER_FUSION_MASKS. > Two spaces afte

Re: [PATCH] rs6000: Add undocumented switch -mprefixed-addr

2019-05-29 Thread Segher Boessenkool
Hi! On Wed, May 29, 2019 at 07:42:38AM -0500, Bill Schmidt wrote: > * rs6000-cpus.def (OTHER_FUSION_MASKS): New #define. > (ISA_FUTURE_MASKS_SERVER): Add OPTION_MASK_PREFIXED_ADDR. Mask off > OTHER_FUSION_MASKS. Two spaces after a full stop (here and later again). > +/* ISA mas

[PATCH] rs6000: Add undocumented switch -mprefixed-addr

2019-05-29 Thread Bill Schmidt
Hi, This patch adds the undocumented switch -mprefixed-addr and a little of the basic infrastructure around it. It also includes a couple of lines in the same code regions to disable P8 fusion for -mcpu=future. Bootstrapped and tested on powerpc64le-unknown-linux-gnu with no regressions. Is thi