aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib/openzfs/module/zstd
diff options
context:
space:
mode:
authorMatt Macy <mmacy@FreeBSD.org>2020-08-28 18:53:45 +0000
committerMatt Macy <mmacy@FreeBSD.org>2020-08-28 18:53:45 +0000
commitac0bf12ee5181e3f784b5bb87d60fc5321ebce2d (patch)
tree1201198222ad94274305aef3766d4cdaeb242cf8 /sys/contrib/openzfs/module/zstd
parent341ccc993cf6da5ccdb1bc3f457d3c6eb2cb4d49 (diff)
parent93ddd0259dd285fbac5cc5086a039a22f1b046a1 (diff)
downloadsrc-ac0bf12ee5181e3f784b5bb87d60fc5321ebce2d.tar.gz
src-ac0bf12ee5181e3f784b5bb87d60fc5321ebce2d.zip
ZFS: MFV 2.0-rc1-ga00c61
Notes
Notes: svn path=/head/; revision=364930
Diffstat (limited to 'sys/contrib/openzfs/module/zstd')
-rw-r--r--sys/contrib/openzfs/module/zstd/Makefile.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/contrib/openzfs/module/zstd/Makefile.in b/sys/contrib/openzfs/module/zstd/Makefile.in
index eea749ea8a5a..f67db710f097 100644
--- a/sys/contrib/openzfs/module/zstd/Makefile.in
+++ b/sys/contrib/openzfs/module/zstd/Makefile.in
@@ -20,6 +20,9 @@ ccflags-y += -O3
# Set it for other compilers, too.
$(obj)/lib/zstd.o: c_flags += -fno-tree-vectorize
+# SSE register return with SSE disabled if -march=znverX is passed
+$(obj)/lib/zstd.o: c_flags += -U__BMI__
+
# Quiet warnings about frame size due to unused code in unmodified zstd lib
$(obj)/lib/zstd.o: c_flags += -Wframe-larger-than=20480