[Ffmpeg-devel] [PATCH] Snow mmx+sse2 asm optimizations

Loren Merritt lorenm
Wed Mar 8 00:34:47 CET 2006


On Tue, 7 Mar 2006, Robert Edele wrote:
> On Mon, 2006-03-06 at 02:06 +0100, Michael Niedermayer wrote:
>> On Sun, Mar 05, 2006 at 06:09:09PM -0500, Robert Edele wrote:
>>> +        ::
>>> +        "m"(b0),"m"(b1),"m"(b2),"m"(b3),"m"(b4),"m"(b5),"d"(end_w2):
>>> +        "%"REG_a"","%"REG_b"","%"REG_c"");
>>
>> this code is not valid, REG_d is changed but neither output nor on the clobber list
>
> REG_d is on the input list, so GCC recognizes it as clobbered? GCC
> also refuses that I put it REG_d into the clobber list. I believe the
> code is good as is?

If it's both input and clobbered, put it on the output list with "+d".

--Loren Merritt





More information about the ffmpeg-devel mailing list