Permalink
Browse files

simd.h: really fix the arm64 (i.e. Aarch64) build

  • Loading branch information...
1 parent 4232831 commit dff3d06a626bf84b3aa763c05803c233e97f4202 @CDLuminate CDLuminate committed Jan 11, 2017
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/TH/generic/simd/simd.h
@@ -53,7 +53,7 @@ enum SIMDExtensions
};
-#if defined(__arm__) || defined(__NEON__)
+#if defined(__arm__) || defined(__aarch64__) // incl. armel, armhf, arm64
#if defined(__NEON__)
@@ -80,7 +80,7 @@ static inline uint32_t detectHostSIMDExtensions()
return SIMDExtension_VSX;
}
- #else
+ #else //PPC64 without VSX
static inline uint32_t detectHostSIMDExtensions()
{

0 comments on commit dff3d06

Please sign in to comment.