[fftw] - Disable SSE2/AVX on x86(32) as we support Pentium Pro as base - SSE2 only arrived with P-4 - https

Peter Robinson pbrobinson at fedoraproject.org
Fri Jul 4 10:54:38 UTC 2014


commit 5e1dd963bd00d0fdfbb1e5bc7b1b71a7e79bf707
Author: Peter Robinson <pbrobinson at gmail.com>
Date:   Fri Jul 4 11:54:36 2014 +0100

    - Disable SSE2/AVX on x86(32) as we support Pentium Pro as base
    - SSE2 only arrived with P-4
    - https://fedoraproject.org/wiki/Features/F12X86Support
    - Fix ARM macro

 fftw.spec |   14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)
---
diff --git a/fftw.spec b/fftw.spec
index 741d57a..2f3ebe4 100644
--- a/fftw.spec
+++ b/fftw.spec
@@ -1,6 +1,6 @@
 Name:           fftw
 Version:        3.3.4
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        A Fast Fourier Transform library
 Group:          System Environment/Libraries
 License:        GPLv2+
@@ -141,14 +141,14 @@ prec_flags[1]=--enable-double
 prec_flags[2]=--enable-long-double
 prec_flags[3]=--enable-quad-precision
 
-%ifarch %{ix86} x86_64
-# Enable SSE2 and AVX support for x86 and x86_64
+%ifarch x86_64
+# Enable SSE2 and AVX support for x86_64
 for((i=0;i<2;i++)); do
  prec_flags[i]+=" --enable-sse2 --enable-avx"
 done
 %endif
 
-%ifarch arm
+%ifarch %{arm}
 # Compile support for NEON instructions
 for((i=0;i<2;i++)); do
  prec_flags[i]+=" --enable-neon"
@@ -281,6 +281,12 @@ fi
 %{_libdir}/libfftw3*.a
 
 %changelog
+* Fri Jul  4 2014 Peter Robinson <pbrobinson at fedoraproject.org> 3.3.4-4
+- Disable SSE2/AVX on x86(32) as we support Pentium Pro as base
+- SSE2 only arrived with P-4
+- https://fedoraproject.org/wiki/Features/F12X86Support
+- Fix ARM macro
+
 * 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