summaryrefslogtreecommitdiff
path: root/numpy/distutils/fcompiler/intel.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2016-05-21 20:13:32 -0600
committerCharles Harris <charlesr.harris@gmail.com>2016-05-22 09:48:22 -0600
commitd5e128c331a2ab404821e744f826da3f840733da (patch)
tree78216e1f955b2a8f6be662376f744d16cf434691 /numpy/distutils/fcompiler/intel.py
parent6ce33a18a62fbc42af2c7a325130f705740c2a1e (diff)
downloadnumpy-d5e128c331a2ab404821e744f826da3f840733da.tar.gz
BLD: Remove Intel compiler flag -xSSE4.2
The consensus seems to be that hardcoding SSE4.2 results in poor code for architectures lacking the feature. Closes #7287.
Diffstat (limited to 'numpy/distutils/fcompiler/intel.py')
-rw-r--r--numpy/distutils/fcompiler/intel.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/distutils/fcompiler/intel.py b/numpy/distutils/fcompiler/intel.py
index c4f15a073..f3e616e1d 100644
--- a/numpy/distutils/fcompiler/intel.py
+++ b/numpy/distutils/fcompiler/intel.py
@@ -123,7 +123,7 @@ class IntelEM64TFCompiler(IntelFCompiler):
return ['-openmp -fp-model strict -O1']
def get_flags_arch(self):
- return ['-xSSE4.2']
+ return ['']
# Is there no difference in the version string between the above compilers
# and the Visual compilers?
@@ -205,7 +205,7 @@ class IntelEM64VisualFCompiler(IntelVisualFCompiler):
version_match = simple_version_match(start='Intel\(R\).*?64,')
def get_flags_arch(self):
- return ['/QaxSSE4.2']
+ return ['']
if __name__ == '__main__':