[FFmpeg-devel] [PATCH] Fix compilation of FASTDIV() with llvm-gcc on x86_64

Michael Niedermayer michaelni
Mon Jul 5 16:47:51 CEST 2010


On Mon, Jul 05, 2010 at 02:54:09PM +0100, Mans Rullgard wrote:
> LLVM requires matching input and output asm parameters to have the
> same type.  For the FASTDIV macro, an (int) cast on the input fixes
> this trivially.

the extra cast likely slows it down
if asm as "specified" by gcc can handle it anything that cannot
is not compatible and they likely want to fix it to be compatible.

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I wish the Xiph folks would stop pretending they've got something they
do not.  Somehow I fear this will remain a wish. -- M?ns Rullg?rd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100705/1268e073/attachment.pgp>



More information about the ffmpeg-devel mailing list