ports/math/sfft/files/patch-src_intrinsics.h
Robert Clausecker 9804638940 math/sfft: port to armv7/aarch64, touch up
- replace complex.h hack with less crude hack
 - use sse2neon to build on armv7/aarch64
 - armv7 should work, but falls to an unrelated issue
 - touch up CFLAGS slightly
 - rework do-test
2024-10-21 11:36:01 +02:00

13 lines
282 B
C

--- src/intrinsics.h.orig 2024-10-15 15:55:56 UTC
+++ src/intrinsics.h
@@ -20,7 +20,9 @@
*/
-#if defined(__ICC)
+#if defined(__arm__) || defined(__aarch64__)
+#include <sse2neon.h>
+#elif defined(__ICC)
#include <xmmintrin.h>
#elif defined(__GNUC__)
#include <x86intrin.h>