[fftw] Disable NEON on ARM (we don't enable by default, needs runtime detection)
Peter Robinson
pbrobinson at fedoraproject.org
Fri Jul 4 11:40:26 UTC 2014
commit 310c96731db49f0c6fd781ca216c58499ac15c95
Author: Peter Robinson <pbrobinson at gmail.com>
Date: Fri Jul 4 12:40:27 2014 +0100
Disable NEON on ARM (we don't enable by default, needs runtime detection)
fftw.spec | 14 ++++++++------
1 files changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/fftw.spec b/fftw.spec
index 2f3ebe4..559c2f6 100644
--- a/fftw.spec
+++ b/fftw.spec
@@ -148,12 +148,13 @@ for((i=0;i<2;i++)); do
done
%endif
-%ifarch %{arm}
-# Compile support for NEON instructions
-for((i=0;i<2;i++)); do
- prec_flags[i]+=" --enable-neon"
-done
-%endif
+# No NEON run time detection, not all ARM SoCs have NEON
+#%ifarch %{arm}
+## Compile support for NEON instructions
+#for((i=0;i<2;i++)); do
+# prec_flags[i]+=" --enable-neon"
+#done
+#%endif
#%ifarch ppc ppc64
## Compile support for Altivec instructions
@@ -286,6 +287,7 @@ fi
- SSE2 only arrived with P-4
- https://fedoraproject.org/wiki/Features/F12X86Support
- Fix ARM macro
+- Disable NEON on ARM (we don't enable by default, needs runtime detection)
* Thu Jul 03 2014 Conrad Meyer <cemeyer at uw.edu> - 3.3.4-3
- Build with --enable-avx (rhbz# 1114964)
More information about the scm-commits
mailing list