mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-16 18:59:11 +02:00
+ more Aarch64 cpu capability flags added
This commit is contained in:
parent
c1d43df4a1
commit
f570b6cb7b
@ -107,8 +107,16 @@ unit agcpugas;
|
|||||||
for cf in cpu_capabilities[current_settings.cputype] do
|
for cf in cpu_capabilities[current_settings.cputype] do
|
||||||
begin
|
begin
|
||||||
case cf of
|
case cf of
|
||||||
|
CPUAARCH64_HAS_DOTPROD:
|
||||||
|
Result:=Result+'+dotprod';
|
||||||
|
CPUAARCH64_HAS_AES:
|
||||||
|
Result:=Result+'+aes';
|
||||||
CPUAARCH64_HAS_SHA2:
|
CPUAARCH64_HAS_SHA2:
|
||||||
Result:=Result+'+sha2';
|
Result:=Result+'+sha2';
|
||||||
|
CPUAARCH64_HAS_SHA3:
|
||||||
|
Result:=Result+'+sha3';
|
||||||
|
CPUAARCH64_HAS_SM4:
|
||||||
|
Result:=Result+'+sm4';
|
||||||
else
|
else
|
||||||
;
|
;
|
||||||
end
|
end
|
||||||
|
@ -136,7 +136,11 @@ Const
|
|||||||
type
|
type
|
||||||
tcpuflags =
|
tcpuflags =
|
||||||
(CPUAARCH64_HAS_LSE, { CPU supports Large System Extensions }
|
(CPUAARCH64_HAS_LSE, { CPU supports Large System Extensions }
|
||||||
CPUAARCH64_HAS_SHA2 { CPU supports SHA2 extension }
|
CPUAARCH64_HAS_DOTPROD, { CPU supports dotprod extension }
|
||||||
|
CPUAARCH64_HAS_AES, { CPU supports AES extension }
|
||||||
|
CPUAARCH64_HAS_SHA2, { CPU supports SHA2 extension }
|
||||||
|
CPUAARCH64_HAS_SHA3, { CPU supports SHA3 extension }
|
||||||
|
CPUAARCH64_HAS_SM4 { CPU supports SM3 and SM4 extension }
|
||||||
);
|
);
|
||||||
|
|
||||||
tfpuflags =
|
tfpuflags =
|
||||||
|
Loading…
Reference in New Issue
Block a user