Browse Source

* fix wrong suffix

git-svn-id: trunk@27211 -
florian 11 years ago
parent
commit
1f6c43810d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      rtl/x86_64/cpu.pp

+ 2 - 2
rtl/x86_64/cpu.pp

@@ -155,12 +155,12 @@ unit cpu;
         _FMASupport:=_AVXSupport and ((_ecx and $1000)<>0);
         _FMASupport:=_AVXSupport and ((_ecx and $1000)<>0);
 
 
         asm
         asm
-           pushl %rbx
+           pushq %rbx
            movl $7,%eax
            movl $7,%eax
            movl $0,%ecx
            movl $0,%ecx
            cpuid
            cpuid
            movl %ebx,_ebx
            movl %ebx,_ebx
-           popl %rbx
+           popq %rbx
         end;
         end;
         _AVX2Support:=_AVXSupport and ((_ebx and $20)<>0);
         _AVX2Support:=_AVXSupport and ((_ebx and $20)<>0);
       end;
       end;