1
0

Config.in.fpu 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. config ADK_TARGET_ARCH_PPC_WITH_SPE
  4. bool
  5. default n
  6. config ADK_TARGET_ARCH_PPC_WITH_ALTIVEC
  7. bool "enable AltiVec SIMD support"
  8. depends on ADK_TARGET_ARCH_PPC && ADK_TARGET_CPU_WITH_ALTIVEC
  9. default n
  10. help
  11. Enable support for AltiVec SIMD CPU extensions.
  12. config ADK_TARGET_ARCH_ARM_WITH_NEON
  13. bool "enable NEON SIMD support"
  14. depends on ADK_TARGET_ARCH_ARM && ADK_TARGET_CPU_WITH_NEON
  15. default n
  16. help
  17. Enable support for NEON SIMD CPU extensions.
  18. config ADK_TARGET_FPU
  19. string
  20. depends on ADK_TARGET_ARCH_ARM
  21. default "vfp" if ADK_TARGET_CPU_WITH_FPU_VFP
  22. default "vfpv3-fp16" if ADK_TARGET_CPU_ARM_CORTEX_A5 && !ADK_TARGET_ARCH_ARM_WITH_NEON
  23. default "vfpv4" if ADK_TARGET_CPU_ARM_CORTEX_A7 && !ADK_TARGET_ARCH_ARM_WITH_NEON
  24. default "vfpv3" if ADK_TARGET_CPU_ARM_CORTEX_A8 && !ADK_TARGET_ARCH_ARM_WITH_NEON
  25. default "vfpv3-fp16" if ADK_TARGET_CPU_ARM_CORTEX_A9 && !ADK_TARGET_ARCH_ARM_WITH_NEON
  26. default "vfpv4" if ADK_TARGET_CPU_ARM_CORTEX_A15 && !ADK_TARGET_ARCH_ARM_WITH_NEON
  27. default "fpv4-sp-d16" if ADK_TARGET_CPU_ARM_CORTEX_M4
  28. default "fpv5-sp-d16" if ADK_TARGET_CPU_ARM_CORTEX_M7 && ADK_TARGET_HARD_FLOAT_SP
  29. default "fpv5-d16" if ADK_TARGET_CPU_ARM_CORTEX_M7 && ADK_TARGET_HARD_FLOAT_DP
  30. default "neon-fp16" if ADK_TARGET_CPU_ARM_CORTEX_A5 && ADK_TARGET_ARCH_ARM_WITH_NEON
  31. default "neon-vfpv4" if ADK_TARGET_CPU_ARM_CORTEX_A7 && ADK_TARGET_ARCH_ARM_WITH_NEON
  32. default "neon" if ADK_TARGET_CPU_ARM_CORTEX_A8 && ADK_TARGET_ARCH_ARM_WITH_NEON
  33. default "neon-fp16" if ADK_TARGET_CPU_ARM_CORTEX_A9 && ADK_TARGET_ARCH_ARM_WITH_NEON
  34. default "neon-vfpv4" if ADK_TARGET_CPU_ARM_CORTEX_A15 && ADK_TARGET_ARCH_ARM_WITH_NEON
  35. default "neon-fp-armv8" if ADK_TARGET_CPU_ARM_CORTEX_A53 && ADK_TARGET_ARCH_ARM_WITH_NEON