Skip to content

Commit b4bb4b6

Browse files
committed
simd.h: really fix the arm64 (i.e. Aarch64) build
1 parent 17c998e commit b4bb4b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

generic/simd/simd.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ enum SIMDExtensions
5353
};
5454

5555

56-
#if defined(__arm__) || defined(__NEON__)
56+
#if defined(__arm__) || defined(__aarch64__) // incl. armel, armhf, arm64
5757

5858
#if defined(__NEON__)
5959

@@ -80,7 +80,7 @@ static inline uint32_t detectHostSIMDExtensions()
8080
return SIMDExtension_VSX;
8181
}
8282

83-
#else
83+
#else //PPC64 without VSX
8484

8585
static inline uint32_t detectHostSIMDExtensions()
8686
{

0 commit comments

Comments
 (0)