Explorar o código

* patch by Rika to resolves #40531

florian hai 1 ano
pai
achega
d287788b57
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      rtl/i386/i386.inc

+ 1 - 1
rtl/i386/i386.inc

@@ -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