-
Dale Curtis authored
Technically _tzcnt* intrinsics are only available when the BMI instruction set is present. However the instruction encoding degrades to "rep bsf" on older processors. Clang for Windows debatably restricts the _tzcnt* instrinics behind the __BMI__ architecture define, so check for its presence or exclude the usage of these intrinics when clang is present. See also: https://ffmpeg.org/pipermail/ffmpeg-devel/2015-November/183404.html https://bugs.llvm.org/show_bug.cgi?id=30506 http://lists.llvm.org/pipermail/cfe-dev/2016-October/051034.htmlSigned-off-by:
Dale Curtis <dalecurtis@chromium.org> Reviewed-by:
Matt Oliver <protogonoi@gmail.com> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
50e30d9b
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
Makefile | Loading commit data... | |
asm.h | ||
bswap.h | ||
cpu.c | ||
cpu.h | ||
cpuid.asm | ||
emms.asm | ||
emms.h | ||
fixed_dsp.asm | ||
fixed_dsp_init.c | ||
float_dsp.asm | ||
float_dsp_init.c | ||
imgutils.asm | ||
imgutils_init.c | ||
intmath.h | ||
intreadwrite.h | ||
lls.asm | ||
lls_init.c | ||
pixelutils.asm | ||
pixelutils.h | ||
pixelutils_init.c | ||
timer.h | ||
w64xmmtest.h | ||
x86inc.asm | ||
x86util.asm |