aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib/openzfs/module/zstd
diff options
context:
space:
mode:
authorMatt Macy <mmacy@FreeBSD.org>2020-10-17 01:06:04 +0000
committerMatt Macy <mmacy@FreeBSD.org>2020-10-17 01:06:04 +0000
commit180f822596ecc49d3074dcc9dfea9628aae1d48d (patch)
treed9d18edc1bc35a2f11fd39f178451964c74b08f7 /sys/contrib/openzfs/module/zstd
parente7e2d659af5dca29378325d360be41903445933a (diff)
parent0be360124f8f108f73365e31448e7550f877f3ac (diff)
downloadsrc-180f822596ecc49d3074dcc9dfea9628aae1d48d.tar.gz
src-180f822596ecc49d3074dcc9dfea9628aae1d48d.zip
Update OpenZFS to 2.0.0-rc3-gfc5966
- fix panic due to tqid overflow - Improve libzfs_error_init messages - Expose zfetch_max_idistance tunable - Make dbufstat work on FreeBSD - Fix EIO after resuming receive of new dataset over an existing one
Notes
Notes: svn path=/head/; revision=366780
Diffstat (limited to 'sys/contrib/openzfs/module/zstd')
-rw-r--r--sys/contrib/openzfs/module/zstd/lib/zstd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/contrib/openzfs/module/zstd/lib/zstd.c b/sys/contrib/openzfs/module/zstd/lib/zstd.c
index 949b8e47ec27..acdd4d9dac9d 100644
--- a/sys/contrib/openzfs/module/zstd/lib/zstd.c
+++ b/sys/contrib/openzfs/module/zstd/lib/zstd.c
@@ -3074,7 +3074,7 @@ size_t FSE_decompress(void* dst, size_t dstCapacity, const void* cSrc, size_t cS
/*-*************************************
* Dependencies
***************************************/
-#ifdef __aarch64__
+#if !defined(ZSTD_NO_INTRINSICS) && defined(__ARM_NEON)
#include <arm_neon.h>
#endif
/**** skipping file: compiler.h ****/
@@ -6525,7 +6525,7 @@ static const U32 OF_defaultNormLog = OF_DEFAULTNORMLOG;
* Shared functions to include for inlining
*********************************************/
static void ZSTD_copy8(void* dst, const void* src) {
-#ifdef __aarch64__
+#if !defined(ZSTD_NO_INTRINSICS) && defined(__ARM_NEON)
vst1_u8((uint8_t*)dst, vld1_u8((const uint8_t*)src));
#else
memcpy(dst, src, 8);
@@ -6534,7 +6534,7 @@ static void ZSTD_copy8(void* dst, const void* src) {
#define COPY8(d,s) { ZSTD_copy8(d,s); d+=8; s+=8; }
static void ZSTD_copy16(void* dst, const void* src) {
-#ifdef __aarch64__
+#if !defined(ZSTD_NO_INTRINSICS) && defined(__ARM_NEON)
vst1q_u8((uint8_t*)dst, vld1q_u8((const uint8_t*)src));
#else
memcpy(dst, src, 16);