[Ffmpeg-devel] [MacIntel] Testers welcome!

Loren Merritt lorenm
Mon Aug 14 20:39:15 CEST 2006


On Mon, 14 Aug 2006, Marco Manfredini wrote:

> It looks like the compiler has a personal feud with 'i' in
> ff_snow_horizontal_compose97i_sse and tries to kill it as best as he can.
>
> Getting i in again is not so easy:
>
> For example, none of these work
>
> int i;
> asm("/*&0!*/\n\t"::"m"(&i)); // doesn't compile, says memory operand 0 is not
> addressable

The above shouldn't work. You mean

int i;
asm("/*&0!*/\n\t"::"r"(&i));




More information about the ffmpeg-devel mailing list