
AsmJit Project
Machine Code Generation for C++
CPU information.
Returns the host CPU information.
SubArch::kUnknown
)noexcept¶Initializes CpuInfo architecture and sub-architecture members to arch
and subArch
, respectively.
Returns the CPU architecture this information relates to.
Returns the CPU sub-architecture this information relates to.
Returns whether the CPU was detected successfully.
If the returned value is false it means that AsmJit either failed to detect the CPU or it doesn't have implementation targeting the host architecture and operating system.
Returns the CPU family ID.
Family identifier matches the FamilyId read by using CPUID on X86 architecture.
Returns the CPU model ID.
Family identifier matches the ModelId read by using CPUID on X86 architecture.
Returns the CPU brand id.
Family identifier matches the BrandId read by using CPUID on X86 architecture.
Returns the CPU stepping.
Family identifier matches the Stepping information read by using CPUID on X86 architecture.
Returns the processor type.
Family identifier matches the ProcessorType read by using CPUID on X86 architecture.
Returns the maximum number of logical processors.
Returns the size of a cache line flush.
Returns number of hardware threads available.
Returns a CPU vendor string.
Tests whether the CPU vendor string is equal to s
.
Returns a CPU brand string.
Returns CPU features.
Returns CPU features (const).
Tests whether the CPU has the given feature
.
Adds the given CPU featureId
to the list of features.
Removes the given CPU featureId
from the list of features.
Architecture.
Sub-architecture.
True if the CPU was detected, false if the detection failed or it's not available.
Reserved for future use.
CPU family ID.
CPU model ID.
CPU brand ID.
CPU stepping.
Processor type.
Maximum number of addressable IDs for logical processors.
Cache line size (in bytes).
Number of hardware threads.
CPU vendor string.
CPU brand string.
CPU features.