ffmpeg/libavutil
Dale Curtis 50e30d9bb7 Don't use _tzcnt instrinics with clang for windows w/o BMI.
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.html

Signed-off-by: Dale Curtis <dalecurtis@chromium.org>
Reviewed-by: Matt Oliver <protogonoi@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-10-25 21:50:37 +02:00
..
2015-12-15 14:16:28 +01:00
2016-10-02 19:35:55 +02:00
2016-10-02 19:35:55 +02:00
2016-02-18 11:55:00 +01:00
2017-03-01 11:23:19 -05:00
2016-05-04 18:16:21 +02:00
2015-11-01 19:35:01 -05:00
2017-01-26 10:25:20 +01:00
2017-09-13 22:03:27 +01:00
2017-09-13 22:03:27 +01:00
2017-09-13 22:03:27 +01:00
2015-10-11 18:03:10 -04:00
2017-03-01 11:23:19 -05:00
2016-01-13 20:00:19 -05:00
2017-09-13 22:03:27 +01:00
2016-08-02 07:50:44 -07:00
2016-01-28 19:49:48 -08:00
2016-08-02 21:52:40 -07:00
2016-10-21 23:58:47 +02:00
2017-10-23 11:56:15 +02:00