[FFmpeg-devel] [PATCH] Explicity use cmpl in yadif.c

İsmail Dönmez ismail
Sun Oct 3 20:54:17 CEST 2010


clang fails to compile yadif.c,

error: ambiguous instructions require an explicit suffix (could be 'cmpb',
?? ? ? ? ? ? ? 'cmpw', 'cmpl', or 'cmpq')

I asked in #llvm and they said one need to let the assembler know the
exact width of the compare,
hence use cmpl. Attached patch does this.

Any complaints?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: yadif-clang.patch
Type: application/octet-stream
Size: 584 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20101003/44058429/attachment.obj>

More information about the ffmpeg-devel mailing list