Skip to content
This repository
Browse code

Handle typo (sse3 vs ssse3) in the cpu arch flags as found in /proc/c…

…puinfo for some linux kernels (at least 2.6.23).
  • Loading branch information...
commit 7081815127bdc70c02da977103d6794a35e164b8 1 parent 466fa4b
David Cournapeau cournape authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  numpy/distutils/cpuinfo.py
2  numpy/distutils/cpuinfo.py
@@ -272,7 +272,7 @@ def _has_sse2(self):
272 272 return re.match(r'.*?\bsse2\b',self.info[0]['flags']) is not None
273 273
274 274 def _has_sse3(self):
275   - return re.match(r'.*?\bsse3\b',self.info[0]['flags']) is not None
  275 + return re.match(r'.*?\bsss?e3\b',self.info[0]['flags']) is not None
276 276
277 277 def _has_3dnow(self):
278 278 return re.match(r'.*?\b3dnow\b',self.info[0]['flags']) is not None

0 comments on commit 7081815

Please sign in to comment.
Something went wrong with that request. Please try again.