Re: [PATCH, cleanup] Remove PowerPC -mupper-regs-* options

2017-07-24 Thread Segher Boessenkool
On Mon, Jul 24, 2017 at 04:06:45PM -0400, Michael Meissner wrote: > > > +/* { dg-final { scan-assembler-times {\mfctidz\M|\mxscvdpsxds\M} 2 } } */ > > > > You could write {\m(fctidz|xscvdpsxds)\M} which may be easier to read. > > Come to think of it, we could do e.g. {\m(lwz)\M} as well. Not s

Re: [PATCH, cleanup] Remove PowerPC -mupper-regs-* options

2017-07-24 Thread Michael Meissner
On Mon, Jul 24, 2017 at 05:21:15AM -0500, Segher Boessenkool wrote: > Hi Mike, > > On Sat, Jul 22, 2017 at 02:46:04AM -0400, Michael Meissner wrote: > > One thing that I did was continue to define __UPPER_REGS_{DF,SF,DI}__ that > > were > > previously defined. I can delete them if desired and pe

Re: [PATCH, cleanup] Remove PowerPC -mupper-regs-* options

2017-07-24 Thread Segher Boessenkool
Hi Mike, On Sat, Jul 22, 2017 at 02:46:04AM -0400, Michael Meissner wrote: > One thing that I did was continue to define __UPPER_REGS_{DF,SF,DI}__ that > were > previously defined. I can delete them if desired and perhaps poison the names > so that any use if flaged. I don't think anything uses

[PATCH, cleanup] Remove PowerPC -mupper-regs-* options

2017-07-21 Thread Michael Meissner
The -mupper-regs-{df,di,sf} debug options that I added in previoius versions of GCC to control whether DFmode, DImode, or SFmode could go in the traditional Altivec registers has outlived its usefulness. This patch deletes the options. I fixed up the various tests that used the option, and delete