diff options
author | zhuchen <zhuchen@loongson.cn> | 2022-09-29 19:50:52 +0800 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2022-10-12 18:02:12 +1100 |
commit | 7f2d6188c7b16ef7a4deeeedb56f42014156b9f8 (patch) | |
tree | ae1c24c61748f8b9c70dda5f65467a86e22cffba /Configurations/10-main.conf | |
parent | e1e93f7a07dfc7a8dddd4ddbb79d1d9bc9760d32 (diff) |
Add LoongArch64 cpuid and OPENSSL_loongarchcap_P
Loongarch64 architecture defines 128 bit vector extension lsx and 256 bit
vector extension lasx. The cpucfg instruction can be used to obtain whether
the CPU has a corresponding extension. This part of code is added to prepare
for the subsequent addition of corresponding vector instruction optimization.
Signed-off-by: zhuchen <zhuchen@loongson.cn>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19364)
Diffstat (limited to 'Configurations/10-main.conf')
-rw-r--r-- | Configurations/10-main.conf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf index 483bb50c40..8f08fb8d9b 100644 --- a/Configurations/10-main.conf +++ b/Configurations/10-main.conf @@ -830,6 +830,7 @@ my %targets = ( "linux64-loongarch64" => { inherit_from => [ "linux-generic64"], perlasm_scheme => "linux64", + asm_arch => 'loongarch64', }, #### IA-32 targets... |