diff --git a/rtl/x86_64/cpu.pp b/rtl/x86_64/cpu.pp index 409a6d5151..865560c135 100644 --- a/rtl/x86_64/cpu.pp +++ b/rtl/x86_64/cpu.pp @@ -155,12 +155,12 @@ unit cpu; _FMASupport:=_AVXSupport and ((_ecx and $1000)<>0); asm - pushl %rbx + pushq %rbx movl $7,%eax movl $0,%ecx cpuid movl %ebx,_ebx - popl %rbx + popq %rbx end; _AVX2Support:=_AVXSupport and ((_ebx and $20)<>0); end;