From 91053990602de8da4df911692710f0e8362daac9 Mon Sep 17 00:00:00 2001 From: Matt Oliver Date: Wed, 11 Nov 2015 00:13:42 +1100 Subject: avutil/x86/intmath: Disable use of tzcnt on older intel compilers. ICC versions older than atleast 12.1.6 dont have the tzcnt intrinsics. Reviewed-by: Michael Niedermayer Signed-off-by: Matt Oliver --- libavutil/x86/intmath.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavutil/x86/intmath.h b/libavutil/x86/intmath.h index 0022737735..b3e5750ccf 100644 --- a/libavutil/x86/intmath.h +++ b/libavutil/x86/intmath.h @@ -32,7 +32,7 @@ #include "config.h" #if HAVE_FAST_CLZ -#if defined(__INTEL_COMPILER) || defined(_MSC_VER) +#if (defined(__INTEL_COMPILER) && (__INTEL_COMPILER>=1216)) || defined(_MSC_VER) # if defined(__INTEL_COMPILER) # define ff_log2(x) (_bit_scan_reverse((x)|1)) # else -- cgit v1.2.3