You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
800 B

  1. From 7ac88ced6cdedf88ccebfc1de12d92b269d4a60a Mon Sep 17 00:00:00 2001
  2. From: Moritz Warning <moritzwarning@web.de>
  3. Date: Mon, 30 Nov 2020 12:25:42 +0100
  4. Subject: [PATCH 8/8] fix compilation for arm_cortex-a7+neon
  5. Fixes "error: 'vrbitq_u8' was not declared in this scope"
  6. Signed-off-by: Rosen Penev <rosenp@gmail.com>
  7. ---
  8. node/Constants.hpp | 2 +-
  9. 1 file changed, 1 insertion(+), 1 deletion(-)
  10. --- a/node/Constants.hpp
  11. +++ b/node/Constants.hpp
  12. @@ -109,7 +109,7 @@
  13. #include <immintrin.h>
  14. #endif
  15. -#if (defined(__ARM_NEON) || defined(__ARM_NEON__) || defined(ZT_ARCH_ARM_HAS_NEON))
  16. +#if (defined(__aarch64__) || defined(ZT_ARCH_ARM_HAS_NEON))
  17. #if (defined(__APPLE__) && !defined(__LP64__)) || (defined(__ANDROID__) && defined(__arm__))
  18. #ifdef ZT_ARCH_ARM_HAS_NEON
  19. #undef ZT_ARCH_ARM_HAS_NEON