MCPcopy Create free account
hub / github.com/numpy/numpy / _has_sse2

Method _has_sse2

numpy/distutils/cpuinfo.py:635–642  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

633 return False
634
635 def _has_sse2(self):
636 if self.is_Intel():
637 return self.is_Pentium4() or self.is_PentiumM() \
638 or self.is_Core2()
639 elif self.is_AMD():
640 return self.is_AMD64()
641 else:
642 return False
643
644 def _has_3dnow(self):
645 return self.is_AMD() and self.info[0]['Family'] in [5, 6, 15]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected