Skip to content

Commit

Permalink
disable zstd asm for now
Browse files Browse the repository at this point in the history
  • Loading branch information
DanEngelbrecht committed Jul 5, 2023
1 parent 62dd55a commit 933a81f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/zstd/ext/common/portability_macros.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
&& (__GNUC__ >= 5 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 8)))) \
&& (defined(__x86_64__) || defined(_M_X64)) \
&& !defined(__BMI2__)
# define DYNAMIC_BMI2 1
# define DYNAMIC_BMI2 0
#else
# define DYNAMIC_BMI2 0
#endif
Expand Down Expand Up @@ -128,7 +128,8 @@
#if !defined(ZSTD_DISABLE_ASM) && \
ZSTD_ASM_SUPPORTED && \
defined(__x86_64__) && \
(DYNAMIC_BMI2 || defined(__BMI2__))
(DYNAMIC_BMI2 || defined(__BMI2__) && \
(0))
# define ZSTD_ENABLE_ASM_X86_64_BMI2 1
#else
# define ZSTD_ENABLE_ASM_X86_64_BMI2 0
Expand Down

0 comments on commit 933a81f

Please sign in to comment.