diff options
author | zhuchen <zhuchen@loongson.cn> | 2022-09-29 19:50:52 +0800 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2022-11-23 18:21:53 +0100 |
commit | e5a5a194fa7d1eb640ed0cd4df2749467e8571f0 (patch) | |
tree | 34dfd6775b2fc2c81c6a702da8927315a45ab519 /Configurations | |
parent | bf0e3fae0d8198b7f4575223d56885482182f1f4 (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)
(cherry picked from commit 7f2d6188c7b16ef7a4deeeedb56f42014156b9f8)
Diffstat (limited to 'Configurations')
-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 fea46744a4..8f8ac32288 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... |