Commit 91053990 authored by Matt Oliver's avatar Matt Oliver

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: 's avatarMichael Niedermayer <michael@niedermayer.cc>
Signed-off-by: 's avatarMatt Oliver <protogonoi@gmail.com>
parent 85e3c31f
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment