[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220702093952.ir7ctqsianztocik@pali>
Date: Sat, 2 Jul 2022 11:39:52 +0200
From: Pali Rohár <pali@...nel.org>
To: Segher Boessenkool <segher@...nel.crashing.org>
Cc: Michael Ellerman <mpe@...erman.id.au>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>,
linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] powerpc: e500: Fix compilation with gcc e500 compiler
On Tuesday 24 May 2022 14:52:16 Segher Boessenkool wrote:
> On Tue, May 24, 2022 at 09:16:10PM +0200, Pali Rohár wrote:
> > On Tuesday 24 May 2022 13:52:47 Segher Boessenkool wrote:
> > > Aha. Right, because this config forces -mspe it requires one of these
> > > CPUs.
> > >
> > > You can use a powerpc-linux compiler instead, and everything will just
> > > work. These CPUs are still supported, in all of GCC 9 .. GCC 12 :-)
> >
> > Ok. I can use different "generic" powerpc compiler (It should work fine
> > as you said, as it has also -mcpu=8540 option). But I think that
> > compilation of kernel should be supported also by that gcc 8.5.0 e500
> > compiler.
>
> That linuxspe compiler you mean. Sure, why not, the more the merrier,
> as long as it doesn't get in the way of other stuff, I won't protest.
>
> But please don't confuse people: you are talking about a
> powerpc-linuxspe compiler, not e500, which is supported just fine by
> current GCC trunk still, and does not have such limitations :-)
>
>
> Segher
I think the confusion is the calling "generic" or "stripped" compiler
without SPE support as e500 compiler.
The "true" e500 compiler has support for both both integer and floating
point ISA and not just subset or just one type.
Powered by blists - more mailing lists