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

Method _has_mmx

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

Source from the content-addressed store, hash-verified

612 return len(self.info)
613
614 def _has_mmx(self):
615 if self.is_Intel():
616 return (self.info[0]['Family']==5 and self.info[0]['Model']==4) \
617 or (self.info[0]['Family'] in [6, 15])
618 elif self.is_AMD():
619 return self.info[0]['Family'] in [5, 6, 15]
620 else:
621 return False
622
623 def _has_sse(self):
624 if self.is_Intel():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected