imx6: optimize for NEON FPU hardware
imx6: optimize for NEON FPU hardware

The IMX6 SoC uses an ARM Cortext-A9 which has both NEON and VFPv3 hardware
blocks. This will tune gcc to use neon instead of vfpv3 which will outperform
VFPv3.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39760 3c298f89-4303-0410-b956-a3cf2f4a3e73

--- a/target/linux/imx6/Makefile
+++ b/target/linux/imx6/Makefile
@@ -11,7 +11,7 @@
 BOARDNAME:=Freescale i.MX 6 Series
 FEATURES:=audio display fpu gpio pcie rtc usb usbgadget squashfs targz ubifs
 CPU_TYPE:=cortex-a9
-CPU_SUBTYPE:=vfpv3
+CPU_SUBTYPE:=neon
 MAINTAINER:=Luka Perkov <luka@openwrt.org>
 
 LINUX_VERSION:=3.10.32

comments