Re: [PATCH v2] raid6/ppc: Fix build for clang

2018-12-03 Thread Segher Boessenkool
On Tue, Dec 04, 2018 at 08:43:47AM +1030, Joel Stanley wrote: > On Tue, 4 Dec 2018 at 05:15, Nick Desaulniers wrote: > > > > > +ifdef CONFIG_CC_IS_CLANG > > > > > +# clang ppc port does not yet support -maltivec when -msoft-float is > > > > > +# enabled. A future release of clang will resolve this

Re: [PATCH v2] raid6/ppc: Fix build for clang

2018-12-03 Thread Nick Desaulniers
On Mon, Dec 3, 2018 at 2:14 PM Joel Stanley wrote: > > On Tue, 4 Dec 2018 at 05:15, Nick Desaulniers wrote: > > > > > +ifdef CONFIG_CC_IS_CLANG > > > > > +# clang ppc port does not yet support -maltivec when -msoft-float is > > > > > +# enabled. A future release of clang will resolve this > > > >

Re: [PATCH v2] raid6/ppc: Fix build for clang

2018-12-03 Thread Joel Stanley
On Tue, 4 Dec 2018 at 05:15, Nick Desaulniers wrote: > > > > +ifdef CONFIG_CC_IS_CLANG > > > > +# clang ppc port does not yet support -maltivec when -msoft-float is > > > > +# enabled. A future release of clang will resolve this > > > > +# https://bugs.llvm.org/show_bug.cgi?id=31177 > > > > +CFLAG

Re: [PATCH v2] raid6/ppc: Fix build for clang

2018-12-03 Thread Nick Desaulniers
On Mon, Dec 3, 2018 at 2:24 AM Joel Stanley wrote: > > On Sat, 3 Nov 2018 at 04:04, Nick Desaulniers wrote: > > > > On Thu, Nov 1, 2018 at 5:45 PM Joel Stanley wrote: > > > > > > We cannot build these files with clang as it does not allow altivec > > > instructions in assembly when -msoft-float

Re: [PATCH v2] raid6/ppc: Fix build for clang

2018-12-03 Thread Joel Stanley
On Sat, 3 Nov 2018 at 04:04, Nick Desaulniers wrote: > > On Thu, Nov 1, 2018 at 5:45 PM Joel Stanley wrote: > > > > We cannot build these files with clang as it does not allow altivec > > instructions in assembly when -msoft-float is passed. > > > > Jinsong Ji wrote: > > > We currently disable A

[PATCH v2] raid6/ppc: Fix build for clang

2018-11-01 Thread Joel Stanley
We cannot build these files with clang as it does not allow altivec instructions in assembly when -msoft-float is passed. Jinsong Ji wrote: > We currently disable Altivec/VSX support when enabling soft-float. So > any usage of vector builtins will break. > > Enable Altivec/VSX with soft-float ma