From 07fdfa559844403d0836ab0783f201b50a9961af Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Thu, 12 Nov 2015 15:50:00 +0100 Subject: Detect NEON on AArch64 The __ARM_NEON is the standard define for NEON instructions support __ARM_NEON__ is only legacy, and specifically not defined in AArch64 builds, which causes us not to detect NEON support there. The NEON assembler files doesn't build with AArch64, so the NEON drawhelper methods must be excluded for now. Change-Id: Ie32f855bde94ee7efd8a8ddb7766c931778e729b Reviewed-by: Thiago Macieira --- config.tests/arch/arch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config.tests') diff --git a/config.tests/arch/arch.cpp b/config.tests/arch/arch.cpp index 7e481d4cf5..c4f23f7bcd 100644 --- a/config.tests/arch/arch.cpp +++ b/config.tests/arch/arch.cpp @@ -237,7 +237,7 @@ const char msg2[] = "==Qt=magic=Qt== Sub-architecture:" #endif // -- ARM -- -#ifdef __ARM_NEON__ +#if defined(__ARM_NEON) || defined(__ARM_NEON__) " neon" #endif #ifdef __IWMMXT__ -- cgit v1.2.3