[FFmpeg-devel] [PATCH] HAVE_AMD3DNOW

Reimar Döffinger Reimar.Doeffinger
Thu Jun 18 18:15:06 CEST 2009


On Tue, Jun 09, 2009 at 09:03:48PM -0400, Pavel Pavlov wrote:
> c:/ffmpeg/libavcodec/h264.c(5459) (col. 32): error: unknown opcode
> "cltd" -- __asm
> 
> There are a few places that it rejects add (can't determin operand size
> error: specify suffix, or something like that).

Probably e.g. "addl" instead of "add" was used, that is usually a bad idea and
just removing that "l" suffix probably would be accepted (I changed quite a few of
those cases myself already since it can also cause issues for 64 bit builds).

> Also, note that cltd has
> nothing to do with 3dnow, it's real name is cdq.

No, both names exist. And if you change it to cdq it breaks the Solaris compiler
(last I checked).



More information about the ffmpeg-devel mailing list