Re: [PATCH 1/2] powerpc/boot: Disable vector instructions

2018-10-10 Thread Michael Ellerman
Segher Boessenkool writes: > On Thu, Oct 11, 2018 at 08:22:54AM +1030, Joel Stanley wrote: >> On Wed, 10 Oct 2018 at 22:41, Michael Ellerman wrote: >> > Joel Stanley writes: >> > > BOOTCFLAGS:= -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \ >> > > - -fno-strict-aliasing -Os

Re: [PATCH 1/2] powerpc/boot: Disable vector instructions

2018-10-10 Thread Segher Boessenkool
On Thu, Oct 11, 2018 at 08:22:54AM +1030, Joel Stanley wrote: > On Wed, 10 Oct 2018 at 22:41, Michael Ellerman wrote: > > Joel Stanley writes: > > > BOOTCFLAGS:= -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \ > > > - -fno-strict-aliasing -Os -msoft-float -pipe \ > > > -

Re: [PATCH 1/2] powerpc/boot: Disable vector instructions

2018-10-10 Thread Joel Stanley
On Wed, 10 Oct 2018 at 22:41, Michael Ellerman wrote: > > Joel Stanley writes: > > > This will avoid auto-vectorisation when building with higher > > optimisation levels. > > > > We don't know if the machine can support VSX and even if it's present > > it's probably not going to be enabled at thi

Re: [PATCH 1/2] powerpc/boot: Disable vector instructions

2018-10-10 Thread Michael Ellerman
Joel Stanley writes: > This will avoid auto-vectorisation when building with higher > optimisation levels. > > We don't know if the machine can support VSX and even if it's present > it's probably not going to be enabled at this point in boot. > > Signed-off-by: Joel Stanley > --- > arch/powerp