aboutsummaryrefslogtreecommitdiff
path: root/cmake/scripts/linux
diff options
context:
space:
mode:
authorcroniccorey <cronmod.dev@gmail.com>2017-05-25 03:58:40 -0400
committercroniccorey <cronmod.dev@gmail.com>2017-05-25 04:09:53 -0400
commitbb1c2d40fa123e41165e407cda8bcb7027b0d41e (patch)
tree72cbb36a293c89a72f544a2ca288ac723596b755 /cmake/scripts/linux
parent1a38948ad068870671042bff2d8ac615dca9e5d8 (diff)
[Kodi] Update NEON support
- Define HAS_NEON when NEON cmake switch is set - Aarch64 always has neon, Enable cmake switch and change CPUInfo to report it - Don't set NEON_FLAGS if none exist, Not all targets need extra flags - Don't use preprocessor to check for neon support, Instead use HAS_NEON set by cmake
Diffstat (limited to 'cmake/scripts/linux')
-rw-r--r--cmake/scripts/linux/ArchSetup.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/scripts/linux/ArchSetup.cmake b/cmake/scripts/linux/ArchSetup.cmake
index eeed920aff..53e5f1bd12 100644
--- a/cmake/scripts/linux/ArchSetup.cmake
+++ b/cmake/scripts/linux/ArchSetup.cmake
@@ -19,7 +19,7 @@ else()
set(NEON_FLAGS "-mfpu=neon -mvectorize-with-neon-quad")
elseif(CPU MATCHES aarch64 OR CPU MATCHES arm64)
set(ARCH aarch64)
- set(NEON False)
+ set(NEON True)
else()
message(SEND_ERROR "Unknown CPU: ${CPU}")
endif()