[PATCH v3 0/5] kernel mode NEON support

Ard Biesheuvel ard.biesheuvel at linaro.org
Sun Sep 22 06:24:37 EDT 2013



> On 22 sep. 2013, at 12:11, Russell King - ARM Linux <linux at arm.linux.org.uk> wrote:
> 
>> On Mon, Jul 08, 2013 at 11:11:56PM +0100, Ard Biesheuvel wrote:
>> This is version 3 of the kernel mode NEON patch set.
> 
> I've noticed some of the randconfigs are failing due to trying to mix
> VFP and FPA objects together, which causes the linker to complain.
> 
> I thought about adding -Wa,-mfpu=softvfp, but this overrides your
> -mfpu=neon resulting in the neon code failing to build.  -mfpu=softvfp
> doesn't work because GCC and binutils don't take the same -mfpu=
> option names (GCC rejects softvfp, whereas the assembler accepts it.)
> 
> This only happens when AEABI is not selected, so I think the only
> solution to this is to make KERNEL_MODE_NEON depend on AEABI - and
> this is what I've committed to my tree today.

This makes perfect sense, especially as neon code may assume an 8 byte aligned stack, which i suppose is not guaranteed when !AEABI.

Regards,
Ard.




More information about the linux-arm-kernel mailing list