mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 10:09:20 +02:00
* patch by Rika to resolves #40531
This commit is contained in:
parent
b164817e18
commit
d287788b57
@ -2131,7 +2131,7 @@ procedure fpc_cpucodeinit;
|
|||||||
cpuid
|
cpuid
|
||||||
movl %eax,_eax
|
movl %eax,_eax
|
||||||
end;
|
end;
|
||||||
if _eax>=7 then
|
if (_eax>=7) and (_ecx_cpuid1 and $08000000<>0 {XGETBV support?}) then
|
||||||
begin
|
begin
|
||||||
asm
|
asm
|
||||||
xorl %ecx,%ecx
|
xorl %ecx,%ecx
|
||||||
|
Loading…
Reference in New Issue
Block a user