Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/lang/bun/files/bun-libdeflate-crc32-disable-avx.patch
49052 views
1
--- a/lib/x86/crc32_impl.h
2
+++ b/lib/x86/crc32_impl.h
3
@@ -55,6 +55,7 @@ static const u8 MAYBE_UNUSED shift_tab[48] = {
4
# define USE_AVX512 0
5
# include "crc32_pclmul_template.h"
6
7
+# ifndef LIBDEFLATE_DISABLE_SIMD_ABOVE_SSE2
8
/*
9
* PCLMULQDQ/AVX implementation. Same as above, but this is compiled with AVX
10
* enabled so that the compiler can generate VEX-coded instructions which can be
11
@@ -66,6 +67,7 @@ static const u8 MAYBE_UNUSED shift_tab[48] = {
12
# define VL 16
13
# define USE_AVX512 0
14
# include "crc32_pclmul_template.h"
15
+# endif /* !LIBDEFLATE_DISABLE_SIMD_ABOVE_SSE2 */
16
#endif
17
18
/*
19
20