On Mon, May 01, 2017 at 11:30:59AM +0000, Joseph Myers wrote: > On Mon, 1 May 2017, Segher Boessenkool wrote: > > > My current patches have powerpc*-*-*spe* for the powerpcspe port. > > Maybe it should also allow powerpcspe-*-*? If people are willing > > to change the target triple they use. > > In that case, either config.sub or config.gcc could handle the mapping.
For powerpc*-*-*spe* in config.gcc, for powerpcspe-*-* in config.sub, yes. Which is also why the latter is a larger change: all other packages would see it as a separate arch, too; which might make it a non-starter. > > > Some testcases will be applicable to both ports, some to only one. > > > > Yeah; but we can sort that out later, no change is needed as long as > > the new port is essentially a copy of rs6000 :-) > > Presumably the SPE port maintainers will want to clean up the SPE port > soon so it's not simply a copy of rs6000 (removing all the options, ABI > variants etc. not applicable to SPE-supporting processors). Yes, and vice-versa. Of course the powerpcspe port can remove a lot more (VMX, VSX, 64-bit!) But these are the easy parts :-) Segher