mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-25 08:42:39 +00:00
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:
parent
85e3c31fd5
commit
9105399060
@ -32,7 +32,7 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#if HAVE_FAST_CLZ
|
#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)
|
# if defined(__INTEL_COMPILER)
|
||||||
# define ff_log2(x) (_bit_scan_reverse((x)|1))
|
# define ff_log2(x) (_bit_scan_reverse((x)|1))
|
||||||
# else
|
# else
|
||||||
|
Loading…
Reference in New Issue
Block a user