File: Don-t-try-SIMD-on-non-x86-processors-not-implemented-yet.patch

package info (click to toggle)
wsclean 3.6-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 16,296 kB
  • sloc: cpp: 129,246; python: 22,066; sh: 360; ansic: 230; makefile: 185
file content (21 lines) | stat: -rw-r--r-- 744 bytes parent folder | download | duplicates (2)
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