From bb1c2d40fa123e41165e407cda8bcb7027b0d41e Mon Sep 17 00:00:00 2001 From: croniccorey Date: Thu, 25 May 2017 03:58:40 -0400 Subject: [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 --- cmake/scripts/linux/ArchSetup.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmake/scripts/linux') 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() -- cgit v1.2.3