mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 08:49:25 +02:00
* fix wrong suffix
git-svn-id: trunk@27211 -
This commit is contained in:
parent
ff6afe27cd
commit
1f6c43810d
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user