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

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

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 > --- >

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

2018-10-09 Thread Joel Stanley
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/powerpc/boot/Makefile | 4 ++-- 1 file