- most stat stuff done.
This commit is contained in:
parent
c15e868b0f
commit
d2fa4d0ff9
12 changed files with 158 additions and 52 deletions
|
|
@ -143,6 +143,8 @@ haveid:
|
|||
cpu->FeatureFlags[1] = foo[2]; // Store extended feature flags
|
||||
cpu->FeatureFlags[2] = foo[3]; // Store feature flags
|
||||
|
||||
cpu->HyperThreading = (foo[3] & (1 << 28)) > 0;
|
||||
|
||||
// If CLFLUSH instruction is supported, get the real cache line size.
|
||||
if (foo[3] & (1 << 19))
|
||||
{
|
||||
|
|
@ -251,6 +253,7 @@ void DumpCPUInfo(const CPUInfo *cpu)
|
|||
if (cpu->bSSE42) Printf(" SSE4.2");
|
||||
if (cpu->b3DNow) Printf(" 3DNow!");
|
||||
if (cpu->b3DNowPlus) Printf(" 3DNow!+");
|
||||
if (cpu->HyperThreading) Printf(" HyperThreading");
|
||||
Printf ("\n");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue