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

Method _is_Nocona

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

Source from the content-addressed store, hash-verified

235 return self.is_PentiumIV() and self.has_sse3()
236
237 def _is_Nocona(self):
238 return (self.is_Intel()
239 and (self.info[0]['cpu family'] == '6'
240 or self.info[0]['cpu family'] == '15')
241 and (self.has_sse3() and not self.has_ssse3())
242 and re.match(r'.*?\blm\b', self.info[0]['flags']) is not None)
243
244 def _is_Core2(self):
245 return (self.is_64bit() and self.is_Intel() and

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected