mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-24 19:56:35 +00:00
arch/Config.in.arm: Add BR2_ARM_CPU_HAS_NEON similar to how mmx/sse is handled on x86
NEON support is optional on A5/A9, so let the user choose if SoC has it / wants to use it. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
e043dd6c99
commit
f9da98c85d
@ -1,3 +1,11 @@
|
|||||||
|
# arm cpu features
|
||||||
|
config BR2_ARM_CPU_HAS_NEON
|
||||||
|
bool
|
||||||
|
|
||||||
|
# for some cores, NEON support is optional
|
||||||
|
config BR2_ARM_CPU_MAYBE_HAS_NEON
|
||||||
|
bool
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "Target Architecture Variant"
|
prompt "Target Architecture Variant"
|
||||||
depends on BR2_arm || BR2_armeb
|
depends on BR2_arm || BR2_armeb
|
||||||
@ -31,12 +39,16 @@ config BR2_arm1176jzf_s
|
|||||||
bool "arm1176jzf-s"
|
bool "arm1176jzf-s"
|
||||||
config BR2_cortex_a5
|
config BR2_cortex_a5
|
||||||
bool "cortex-A5"
|
bool "cortex-A5"
|
||||||
|
select BR2_ARM_CPU_MAYBE_HAS_NEON
|
||||||
config BR2_cortex_a8
|
config BR2_cortex_a8
|
||||||
bool "cortex-A8"
|
bool "cortex-A8"
|
||||||
|
select BR2_ARM_CPU_HAS_NEON
|
||||||
config BR2_cortex_a9
|
config BR2_cortex_a9
|
||||||
bool "cortex-A9"
|
bool "cortex-A9"
|
||||||
|
select BR2_ARM_CPU_MAYBE_HAS_NEON
|
||||||
config BR2_cortex_a15
|
config BR2_cortex_a15
|
||||||
bool "cortex-A15"
|
bool "cortex-A15"
|
||||||
|
select BR2_ARM_CPU_HAS_NEON
|
||||||
config BR2_sa110
|
config BR2_sa110
|
||||||
bool "sa110"
|
bool "sa110"
|
||||||
config BR2_sa1100
|
config BR2_sa1100
|
||||||
@ -64,6 +76,15 @@ config BR2_ARM_OABI
|
|||||||
depends on !BR2_GCC_VERSION_4_7_X
|
depends on !BR2_GCC_VERSION_4_7_X
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
|
config BR2_ARM_ENABLE_NEON
|
||||||
|
bool "Enable NEON SIMD extension support"
|
||||||
|
depends on BR2_ARM_CPU_MAYBE_HAS_NEON
|
||||||
|
select BR2_ARM_CPU_HAS_NEON
|
||||||
|
help
|
||||||
|
For some CPU cores, the NEON SIMD extension is optional.
|
||||||
|
Select this option if you are certain your particular
|
||||||
|
implementation has NEON support and you want to use it.
|
||||||
|
|
||||||
config BR2_ARCH
|
config BR2_ARCH
|
||||||
default "arm" if BR2_arm
|
default "arm" if BR2_arm
|
||||||
default "armeb" if BR2_armeb
|
default "armeb" if BR2_armeb
|
||||||
|
Loading…
x
Reference in New Issue
Block a user