Return a list of CPU features that required to be detected sorted from the lowest to highest interest.
(self, names)
| 1509 | return self.feature_sorted(names) |
| 1510 | |
| 1511 | def feature_detect(self, names): |
| 1512 | """ |
| 1513 | Return a list of CPU features that required to be detected |
| 1514 | sorted from the lowest to highest interest. |
| 1515 | """ |
| 1516 | names = self.feature_get_til(names, "implies_detect") |
| 1517 | detect = [] |
| 1518 | for n in names: |
| 1519 | d = self.feature_supported[n] |
| 1520 | detect += d.get("detect", d.get("group", [n])) |
| 1521 | return detect |
| 1522 | |
| 1523 | @_Cache.me |
| 1524 | def feature_flags(self, names): |
no test coverage detected