]> git.ipfire.org Git - thirdparty/zstd.git/commit
DYNAMIC_BMI2 enabled for clang 1032/head
authorYann Collet <cyan@fb.com>
Mon, 5 Mar 2018 00:05:59 +0000 (16:05 -0800)
committerYann Collet <cyan@fb.com>
Mon, 5 Mar 2018 00:05:59 +0000 (16:05 -0800)
commitd02b44cf55105c23048c5cc6290b73c79bb519a2
tree08cc95c901d3827d90ad90706eca28029935d648
parent3ba307b240997bdfeb55795b09d9d76c0647f32b
DYNAMIC_BMI2 enabled for clang

clang only claims compatibility with gcc 4.2.
Consequently, recent patch which reserved DYNAMIC_BMI2 for gcc >= 4.8
also disabled it for clang.

fix : __clang__ is now enough to enable DYNAMIC_BMI2
(associated with other existing conditions : x64/x64, !bmi2)
lib/common/compiler.h