Add optimized file codec/commom/mips64/deblock_mmi.c and corresponding unit tests for loongson platform
Showing the changes to codec/common/src/cpu.cpp (1 of 11 files). Show all
Unified · Split
| @@ -307,7 +307,17 @@ uint32_t WelsCPUFeatureDetect (int32_t* pNumberOfLogicProcessors) { · 306 unmodified lines | |||
| 307 | WELS_CPU_NEON; | 307 | WELS_CPU_NEON; |
| 308 | } | 308 | } |
| 309 | 309 | ||
| 310 | #else /* Neither X86_ASM, HAVE_NEON nor HAVE_NEON_AARCH64 */ | 310 | #elif defined(mips) |
| 311 | /* for loongson */ | ||
| 312 | uint32_t WelsCPUFeatureDetect (int32_t* pNumberOfLogicProcessors) { | ||
| 313 | #if defined(HAVE_MMI) | ||
| 314 | return WELS_CPU_MMI; | ||
| 315 | #else | ||
| 316 | return 0; | ||
| 317 | #endif | ||
| 318 | } | ||
| 319 | |||
| 320 | #else /* Neither X86_ASM, HAVE_NEON, HAVE_NEON_AARCH64 nor mips */ | ||
| 311 | 321 | ||
| 312 | uint32_t WelsCPUFeatureDetect (int32_t* pNumberOfLogicProcessors) { | 322 | uint32_t WelsCPUFeatureDetect (int32_t* pNumberOfLogicProcessors) { |
| 313 | return 0; | 323 | return 0; |