Extended Description
The recent patch to enable soft-float support on PPC64 ("[PowerPC] Refactor soft-float support, and enable PPC64 soft float") has broken Linux kernel builds.
We want to avoid floating point in the kernel, but certain files want to be built with vectorisation. One example is arch/powerpc/lib/xor_vmx.c.
The command line on these files contains the somewhat convoluted:
-msoft-float -mno-altivec -mno-vsx -maltivec -mabi=altivec
There are only two files in the kernel that use altivec in C, so perhaps we can come up with a way to solve this in the kernel.
Extended Description
The recent patch to enable soft-float support on PPC64 ("[PowerPC] Refactor soft-float support, and enable PPC64 soft float") has broken Linux kernel builds.
We want to avoid floating point in the kernel, but certain files want to be built with vectorisation. One example is arch/powerpc/lib/xor_vmx.c.
The command line on these files contains the somewhat convoluted:
-msoft-float -mno-altivec -mno-vsx -maltivec -mabi=altivec
There are only two files in the kernel that use altivec in C, so perhaps we can come up with a way to solve this in the kernel.