Huffman ASM

This commit is contained in:
Nick Terrell
2021-09-20 14:46:43 -07:00
parent 51b123d5f7
commit a5f2c45528
15 changed files with 1348 additions and 195 deletions
+2 -2
View File
@@ -108,7 +108,7 @@
#if ((defined(__clang__) && __has_attribute(__target__)) \
|| (defined(__GNUC__) \
&& (__GNUC__ >= 5 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 8)))) \
&& (defined(__x86_64__) || defined(_M_X86)) \
&& (defined(__x86_64__) || defined(_M_X64)) \
&& !defined(__BMI2__)
# define DYNAMIC_BMI2 1
#else
@@ -212,7 +212,7 @@
# elif defined(ZSTD_ARCH_ARM_NEON)
# include <arm_neon.h>
# endif
#endif
#endif
/* compat. with non-clang compilers */
#ifndef __has_builtin