kernel-fxtec-pro1x/lib/raid6
Joel Stanley 439022e0c2 raid6/ppc: Fix build for clang
commit e213574a449f7a57d4202c1869bbc7680b6b5521 upstream.

We cannot build these files with clang as it does not allow altivec
instructions in assembly when -msoft-float is passed.

Jinsong Ji <jji@us.ibm.com> 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 may need quite some clean up work, so
> I guess this is currently a limitation.
>
> Removing -msoft-float will make it work (and we are lucky that no
> floating point instructions will be generated as well).

This is a workaround until the issue is resolved in clang.

Link: https://bugs.llvm.org/show_bug.cgi?id=31177
Link: https://github.com/ClangBuiltLinux/linux/issues/239
Signed-off-by: Joel Stanley <joel@jms.id.au>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-01-13 09:51:05 +01:00
..
test lib/raid6: Fix arm64 test build 2018-11-27 16:13:05 +01:00
.gitignore lib/raid6/altivec: Add vpermxor implementation for raid6 Q syndrome 2018-03-20 16:47:25 +11:00
algos.c powerpc updates for 4.17 2018-04-07 12:08:19 -07:00
altivec.uc lib/raid6: Build proper raid6test files on powerpc 2018-03-20 16:47:52 +11:00
avx2.c
avx512.c
int.uc
Makefile raid6/ppc: Fix build for clang 2019-01-13 09:51:05 +01:00
mktables.c
mmx.c
neon.c
neon.uc
recov.c
recov_avx2.c
recov_avx512.c
recov_neon.c
recov_neon_inner.c
recov_s390xc.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
recov_ssse3.c
s390vx.uc RAID/s390: Remove VLA usage 2018-07-04 08:37:50 +02:00
sse1.c
sse2.c treewide: Align function definition open/close braces 2018-03-26 11:13:09 +02:00
unroll.awk
vpermxor.uc lib/raid6/altivec: Add vpermxor implementation for raid6 Q syndrome 2018-03-20 16:47:25 +11:00
x86.h