[Numpy-svn] r4153 - trunk/numpy/distutils/fcompiler

numpy-svn@scip... numpy-svn@scip...
Tue Oct 2 14:18:31 CDT 2007


Author: cookedm
Date: 2007-10-02 14:18:29 -0500 (Tue, 02 Oct 2007)
New Revision: 4153

Modified:
   trunk/numpy/distutils/fcompiler/gnu.py
Log:
distutils/fcompiler/gnu.py: add -march=k8 when cpu.is_AMD64()


Modified: trunk/numpy/distutils/fcompiler/gnu.py
===================================================================
--- trunk/numpy/distutils/fcompiler/gnu.py	2007-10-02 19:14:52 UTC (rev 4152)
+++ trunk/numpy/distutils/fcompiler/gnu.py	2007-10-02 19:18:29 UTC (rev 4153)
@@ -237,10 +237,13 @@
                 march_opt = '-march=pentium2'
 
         if gnu_ver >= '3.4':
+            # Actually, I think these all do the same things
             if cpu.is_Opteron():
                 march_opt = '-march=opteron'
             elif cpu.is_Athlon64():
                 march_opt = '-march=athlon64'
+            elif cpu.is_AMD64():
+                march_opt = '-march=k8'
 
         if gnu_ver >= '3.4.4':
             if cpu.is_PentiumM():



More information about the Numpy-svn mailing list