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 <michael@niedermayer.cc>
Signed-off-by: Matt Oliver <protogonoi@gmail.com>
This commit is contained in:
Matt Oliver 2015-11-11 00:13:42 +11:00
parent 85e3c31fd5
commit 9105399060
1 changed files with 1 additions and 1 deletions

View File

@ -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