1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
From: Ole Streicher <olebole@debian.org>
Date: Tue, 2 Nov 2021 08:20:17 +0100
Subject: Don't try SIMD on non-x86 processors (not implemented yet)
---
external/schaapcommon/external/ducc0/infra/simd.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/external/schaapcommon/external/ducc0/infra/simd.h b/external/schaapcommon/external/ducc0/infra/simd.h
index 3e4af3d..967565c 100644
--- a/external/schaapcommon/external/ducc0/infra/simd.h
+++ b/external/schaapcommon/external/ducc0/infra/simd.h
@@ -122,7 +122,7 @@ using detail_simd::vectorizable;
# undef DUCC0_NO_SIMD
#endif
#elif defined(__GNUC__)
-#if __GNUC__>=5
+#if (__GNUC__>=5) && (defined(__x86_64__) || defined(__i386__))
#undef DUCC0_NO_SIMD
#endif
#endif
|