Skip to content

Commit

Permalink
Define better name __NEON__
Browse files Browse the repository at this point in the history
  • Loading branch information
homm committed Jul 16, 2024
1 parent ada8478 commit f6df27b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/libImaging/ImagingSIMD.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
#ifdef __SSE4_2__
#define __SSE4__
#endif
#ifdef __aarch64__
#define __NEON__
#endif

#ifdef __SSE2__
#include <mmintrin.h> // MMX
Expand All @@ -27,7 +30,7 @@
#ifdef __AVX2__
#include <immintrin.h> // AVX, AVX2
#endif
#ifdef __aarch64__
#ifdef __NEON__
#include <arm_neon.h> // ARM NEON
#endif

Expand Down

0 comments on commit f6df27b

Please sign in to comment.