Skip to content

Commit 933a81f

Browse files
disable zstd asm for now
1 parent 62dd55a commit 933a81f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/zstd/ext/common/portability_macros.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
&& (__GNUC__ >= 5 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 8)))) \
8282
&& (defined(__x86_64__) || defined(_M_X64)) \
8383
&& !defined(__BMI2__)
84-
# define DYNAMIC_BMI2 1
84+
# define DYNAMIC_BMI2 0
8585
#else
8686
# define DYNAMIC_BMI2 0
8787
#endif
@@ -128,7 +128,8 @@
128128
#if !defined(ZSTD_DISABLE_ASM) && \
129129
ZSTD_ASM_SUPPORTED && \
130130
defined(__x86_64__) && \
131-
(DYNAMIC_BMI2 || defined(__BMI2__))
131+
(DYNAMIC_BMI2 || defined(__BMI2__) && \
132+
(0))
132133
# define ZSTD_ENABLE_ASM_X86_64_BMI2 1
133134
#else
134135
# define ZSTD_ENABLE_ASM_X86_64_BMI2 0

0 commit comments

Comments
 (0)