summaryrefslogtreecommitdiff
path: root/target/config/Config.in.fpu.default
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-04-03 14:41:07 -0500
committerWaldemar Brodkorb <wbx@openadk.org>2015-04-03 14:41:07 -0500
commit21b8f713db4b71cdf1e329afb3372aadec88f1e7 (patch)
treee9e9fd057ce7b6ec8d797374addd949842f49423 /target/config/Config.in.fpu.default
parentbf46ae546e86c39e2b0f900610b9a72076af35b4 (diff)
rework FPU support for ARM again
With this commit I broke Kodi support for cubox-i: 4f93b213f2d3393fbb0b7ca200988f475e6cef83 I found following info regarding VFP and NEON: http://community.arm.com/groups/tools/blog/2013/04/15/arm-cortex-a-processors-and-gcc-command-lines Try to implement with this table in mind.
Diffstat (limited to 'target/config/Config.in.fpu.default')
-rw-r--r--target/config/Config.in.fpu.default14
1 files changed, 10 insertions, 4 deletions
diff --git a/target/config/Config.in.fpu.default b/target/config/Config.in.fpu.default
index c55b0a602..55c00e0a5 100644
--- a/target/config/Config.in.fpu.default
+++ b/target/config/Config.in.fpu.default
@@ -4,7 +4,13 @@
config ADK_TARGET_FPU
string
depends on ADK_TARGET_ARCH_ARM
- default "neon" if ADK_TARGET_CPU_WITH_NEON
- default "vfp" if ADK_TARGET_CPU_WITH_FPU_VFP
- default "vfpv3" if ADK_TARGET_CPU_WITH_FPU_VFPV3
- default "vfpv4" if ADK_TARGET_CPU_WITH_FPU_VFPV4
+ default "vfpv3-fp16" if ADK_CPU_CORTEX_A5 && !ADK_TARGET_ARCH_ARM_WITH_NEON
+ default "vfpv4" if ADK_CPU_CORTEX_A7 && !ADK_TARGET_ARCH_ARM_WITH_NEON
+ default "vfpv3" if ADK_CPU_CORTEX_A8 && !ADK_TARGET_ARCH_ARM_WITH_NEON
+ default "vfpv3-fp16" if ADK_CPU_CORTEX_A9 && !ADK_TARGET_ARCH_ARM_WITH_NEON
+ default "vfpv4" if ADK_CPU_CORTEX_A15 && !ADK_TARGET_ARCH_ARM_WITH_NEON
+ default "neon-fp16" if ADK_CPU_CORTEX_A5 && ADK_TARGET_ARCH_ARM_WITH_NEON
+ default "neon-vfpv4" if ADK_CPU_CORTEX_A7 && ADK_TARGET_ARCH_ARM_WITH_NEON
+ default "neon" if ADK_CPU_CORTEX_A8 && ADK_TARGET_ARCH_ARM_WITH_NEON
+ default "neon-fp16" if ADK_CPU_CORTEX_A9 && ADK_TARGET_ARCH_ARM_WITH_NEON
+ default "neon-vfpv4" if ADK_CPU_CORTEX_A15 && ADK_TARGET_ARCH_ARM_WITH_NEON