[FFmpeg-devel] [PATCH] use 'l' asm suffix to make icc happy

Måns Rullgård mans
Sat Dec 15 23:34:31 CET 2007


Trent Piepho <xyzzy at speakeasy.org> writes:

> On Sat, 15 Dec 2007, Reimar [iso-8859-1] D?ffinger wrote:
>> Hello,
>> the operands to dec in these two cases can be a memory address, so the
>> assembler can not really infer the size, and icc fails to compile.
>> Attached patch fixes it.
>
> Is it possible that the l suffix will be wrong on x86-64, e.g. addl %rax?
> gcc has a percent code for generating the operand size suffix that can be
> used in this case.

GCC seems to use 32-bit registers for int and unsigned int type data.

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list