diff options
author | cookedm <cookedm@localhost> | 2007-10-02 19:18:29 +0000 |
---|---|---|
committer | cookedm <cookedm@localhost> | 2007-10-02 19:18:29 +0000 |
commit | fb53cd4ddc81baa377156b332a854a3d760f710d (patch) | |
tree | 6f170b725ce57b785b7a792323066497c16ea9d8 | |
parent | f38bc34bcc817403efb932355f10f8028b10d97b (diff) | |
download | numpy-fb53cd4ddc81baa377156b332a854a3d760f710d.tar.gz |
distutils/fcompiler/gnu.py: add -march=k8 when cpu.is_AMD64()
-rw-r--r-- | numpy/distutils/fcompiler/gnu.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/numpy/distutils/fcompiler/gnu.py b/numpy/distutils/fcompiler/gnu.py index a0aae6144..b281cb5c1 100644 --- a/numpy/distutils/fcompiler/gnu.py +++ b/numpy/distutils/fcompiler/gnu.py @@ -237,10 +237,13 @@ class GnuFCompiler(FCompiler): 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(): |