Improve speed of ZSTD_compressSequencesAndLiterals() using RVV

This commit is contained in:
李子建 authored and Zijian Li committed 2025-06-02 17:21:02 +08:00
1 parent f9938c217d
commit d95123f2e6
2 files changed
+157

No files matched your search

+6
View File
@@ -218,6 +218,9 @@
# if defined(__ARM_NEON) || defined(_M_ARM64)
# define ZSTD_ARCH_ARM_NEON
# endif
# if defined(__riscv) && defined(__riscv_vector)
# define ZSTD_ARCH_RISCV_RVV
# endif
#
# if defined(ZSTD_ARCH_X86_AVX2)
# include <immintrin.h>
@@ -227,6 +230,9 @@
# elif defined(ZSTD_ARCH_ARM_NEON)
# include <arm_neon.h>
# endif
# if defined(ZSTD_ARCH_RISCV_RVV)
# include <riscv_vector.h>
# endif
#endif
/* C-language Attributes are added in C23. */