mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 08:09:29 +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
|
||||
begin
|
||||
case cf of
|
||||
CPUAARCH64_HAS_DOTPROD:
|
||||
Result:=Result+'+dotprod';
|
||||
CPUAARCH64_HAS_AES:
|
||||
Result:=Result+'+aes';
|
||||
CPUAARCH64_HAS_SHA2:
|
||||
Result:=Result+'+sha2';
|
||||
CPUAARCH64_HAS_SHA3:
|
||||
Result:=Result+'+sha3';
|
||||
CPUAARCH64_HAS_SM4:
|
||||
Result:=Result+'+sm4';
|
||||
else
|
||||
;
|
||||
end
|
||||
|
@ -136,7 +136,11 @@ Const
|
||||
type
|
||||
tcpuflags =
|
||||
(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 =
|
||||
|
Loading…
Reference in New Issue
Block a user