mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 18:09:12 +02:00
* fix TSC support bit as mentioned by Rika
This commit is contained in:
parent
8d12774d3b
commit
9d957cd6b3
@ -271,7 +271,7 @@ type
|
|||||||
begin
|
begin
|
||||||
maxcpuidvalue:=CPUID(0).eax;
|
maxcpuidvalue:=CPUID(0).eax;
|
||||||
cpuid1:=CPUID(1);
|
cpuid1:=CPUID(1);
|
||||||
_TSCSupport:=(cpuid1.edx and $20)<>0;
|
_TSCSupport:=(cpuid1.edx and $10)<>0;
|
||||||
_MMXSupport:=(cpuid1.edx and $800000)<>0;
|
_MMXSupport:=(cpuid1.edx and $800000)<>0;
|
||||||
_CMOVSupport:=(cpuid1.edx and $8000)<>0;
|
_CMOVSupport:=(cpuid1.edx and $8000)<>0;
|
||||||
_AESSupport:=(cpuid1.ecx and $2000000)<>0;
|
_AESSupport:=(cpuid1.ecx and $2000000)<>0;
|
||||||
|
Loading…
Reference in New Issue
Block a user