[FFmpeg-devel] [PATCH] avutil/x86/intmath: Disable use of tzcnt on older intel compilers.

Michael Niedermayer michael at niedermayer.cc
Tue Nov 10 16:14:59 CET 2015


On Wed, Nov 11, 2015 at 12:21:24AM +1100, Matt Oliver wrote:
> It would appear that ICC 12.0.4 doesnt have a definition of the tzcnt
> intrinsics which brakes compilation. Current FATE tests show that atleast
> version 12.1.6 has the required intrinsic however im not certain at what
> version number it was introduced (I could not find any relevant info in the
> intel release logs). So to enable compilation again Ive just disabled the
> intrinsics on anything older than the confirmed working version. I dont
> have access to anything older than version 13 so cant test this but
> hopefully it should still serve as a quick fix for icc 12.0.4 compilation.
> Anyone with access to ICC version 12 is welcome to comment.
> 
> PS Sorry for the delay creating a fix.

>  intmath.h |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 63b1c8f2583ba28b32047647658b354034865d4a  0001-avutil-x86-intmath-Disable-use-of-tzcnt-on-older-int.patch
> From 41ce92fc181c5635618208eea67952ade30d4980 Mon Sep 17 00:00:00 2001
> From: Matt Oliver <protogonoi at gmail.com>
> Date: Wed, 11 Nov 2015 00:13:42 +1100
> Subject: [PATCH] avutil/x86/intmath: Disable use of tzcnt on older intel
>  compilers.
> 
> ICC versions older than atleast 12.1.6 dont have the tzcnt intrinsics.

LGTM

thanks

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

What does censorship reveal? It reveals fear. -- Julian Assange
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20151110/30dd2eb5/attachment.sig>


More information about the ffmpeg-devel mailing list