mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
fixed cpu detection on 64bit windows (and removing nasty assembly for win32).
Note that this still works for 32bit windows.
This commit is contained in:
parent
1173c4f153
commit
7880c71d9a
2 changed files with 15 additions and 72 deletions
|
|
@ -30,6 +30,7 @@ Signal<void(void)> Platform::SystemInfoReady;
|
|||
|
||||
enum CPUFlags
|
||||
{
|
||||
// EDX Register flags
|
||||
BIT_FPU = BIT(0),
|
||||
BIT_RDTSC = BIT(4),
|
||||
BIT_MMX = BIT(23),
|
||||
|
|
@ -37,7 +38,7 @@ enum CPUFlags
|
|||
BIT_SSE2 = BIT(26),
|
||||
BIT_3DNOW = BIT(31),
|
||||
|
||||
// These use a different value for comparison than the above flags
|
||||
// These use a different value for comparison than the above flags (ECX Register)
|
||||
BIT_SSE3 = BIT(0),
|
||||
BIT_SSE3xt = BIT(9),
|
||||
BIT_SSE4_1 = BIT(19),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue