[cpu] Reimplement CPUID features as util::bitset

The cpu::cpu_id class no longer looks up all known features in the
constructor, but instead provides access to the map of supported
features as a bitset from the verify() method. It also exposes the
brand_name() method instead of loading the brand name string in the
constructor and storing it as part of the object.
This commit is contained in:
Justin C. Miller
2022-03-13 17:33:16 -07:00
parent e2eaf43b4a
commit 54aef00913
6 changed files with 69 additions and 59 deletions

View File

@@ -9,6 +9,7 @@ module("util",
public_headers = [
"util/basic_types.h",
"util/bip_buffer.h",
"util/bitset.h",
"util/counted.h",
"util/deque.h",
"util/enum_bitfields.h",