mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-23 21:35:34 +00:00
flush out windows cpu detection.
This commit is contained in:
parent
ca0a5d41a7
commit
24e5db942b
5 changed files with 136 additions and 248 deletions
|
|
@ -96,7 +96,7 @@ static void detectCpuFeatures(U32 &procflags)
|
|||
U32 lraw;
|
||||
|
||||
// All Cpus have fpu
|
||||
procflags = CPU_PROP_FPU;
|
||||
procflags = CPU_PROP_C | CPU_PROP_FPU;
|
||||
|
||||
#if defined(TORQUE_CPU_X86) || defined(TORQUE_CPU_X64)
|
||||
|
||||
|
|
@ -215,6 +215,9 @@ void Processor::init()
|
|||
Con::printf(" AVX detected");
|
||||
if (Platform::SystemInfo.processor.properties & CPU_PROP_NEON)
|
||||
Con::printf(" Neon detected");
|
||||
|
||||
if (Platform::SystemInfo.processor.properties & CPU_PROP_MP)
|
||||
Con::printf(" MultiCore CPU detected [%i cores, %i logical]", Platform::SystemInfo.processor.numPhysicalProcessors, Platform::SystemInfo.processor.numLogicalProcessors);
|
||||
|
||||
Con::printf( "" );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue