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. depends on !ADK_TARGET_LIB_GLIBC
  16. default n
  17. help
  18. Enable support for NEON SIMD CPU extensions.
  19. config ADK_TARGET_FPU
  20. string
  21. depends on ADK_TARGET_ARCH_ARM
  22. default "vfp" if ADK_TARGET_CPU_WITH_FPU_VFP
  23. default "vfpv3-fp16" if ADK_TARGET_CPU_ARM_CORTEX_A5 && !ADK_TARGET_ARCH_ARM_WITH_NEON
  24. default "vfpv4" if ADK_TARGET_CPU_ARM_CORTEX_A7 && !ADK_TARGET_ARCH_ARM_WITH_NEON
  25. default "vfpv3" if ADK_TARGET_CPU_ARM_CORTEX_A8 && !ADK_TARGET_ARCH_ARM_WITH_NEON
  26. default "vfpv3-fp16" if ADK_TARGET_CPU_ARM_CORTEX_A9 && !ADK_TARGET_ARCH_ARM_WITH_NEON
  27. default "vfpv4" if ADK_TARGET_CPU_ARM_CORTEX_A15 && !ADK_TARGET_ARCH_ARM_WITH_NEON
  28. default "fpv4-sp-d16" if ADK_TARGET_CPU_ARM_CORTEX_M4
  29. default "fpv5-sp-d16" if ADK_TARGET_CPU_ARM_CORTEX_M7 && ADK_TARGET_HARD_FLOAT_SP
  30. default "fpv5-d16" if ADK_TARGET_CPU_ARM_CORTEX_M7 && ADK_TARGET_HARD_FLOAT_DP
  31. default "neon-fp16" if ADK_TARGET_CPU_ARM_CORTEX_A5 && ADK_TARGET_ARCH_ARM_WITH_NEON
  32. default "neon-vfpv4" if ADK_TARGET_CPU_ARM_CORTEX_A7 && ADK_TARGET_ARCH_ARM_WITH_NEON
  33. default "neon" if ADK_TARGET_CPU_ARM_CORTEX_A8 && ADK_TARGET_ARCH_ARM_WITH_NEON
  34. default "neon-fp16" if ADK_TARGET_CPU_ARM_CORTEX_A9 && ADK_TARGET_ARCH_ARM_WITH_NEON
  35. default "neon-vfpv4" if ADK_TARGET_CPU_ARM_CORTEX_A15 && ADK_TARGET_ARCH_ARM_WITH_NEON