1
0
mirror of https://github.com/google/cpu_features.git synced 2025-07-02 13:43:18 +02:00

Add loongarch64 Support (#314)

* Add macros for LOONGARCH hwcaps

* Update hwcaps.h

* LoongArch Support

* Remove unused definitions.

* Add ignored feature in test.
This commit is contained in:
Wang Xiang
2023-08-24 02:35:29 +08:00
committed by GitHub
parent 804eaa075a
commit 0d5f398c58
9 changed files with 388 additions and 0 deletions

View File

@ -83,6 +83,10 @@
#define CPU_FEATURES_ARCH_RISCV128
#endif
#if defined(__loongarch64)
#define CPU_FEATURES_ARCH_LOONGARCH
#endif
////////////////////////////////////////////////////////////////////////////////
// Os
////////////////////////////////////////////////////////////////////////////////