On Sat, Jan 12, 2013 at 4:13 PM, Ronald S. Bultje <[email protected]> wrote:
> Hi,
>
> On Sat, Jan 12, 2013 at 12:03 PM, Daniel Kang <[email protected]> wrote:
>> Manually reload registers to avoid trying to use 8 registers when
>> compilers that do not align the stack. MSVC among those.
> [..]
>> -    add        dstq, mmsize/2
>> -    add       prevq, mmsize/2
>> -    add        curq, mmsize/2
>> -    add       nextq, mmsize/2
>> -    sub          wd, mmsize/2
> [..]
>> +    add          r0, mmsize/2
>> +    add          r1, mmsize/2
>> +    add          r2, mmsize/2
>> +    add          r3, mmsize/2
>> +    sub   DWORD r4m, mmsize/2
> [..]
>> -cglobal yadif_filter_line, 7, 7, 8, 16*5, dst, prev, cur, next, w, prefs, \
>> -                                          mrefs, parity, mode
> [..]
>> +cglobal yadif_filter_line, 4, 7, 8, PAD
>
> Do you think it's possible to somehow keep the named arguments, at
> least for the ones where you load arguments from the stack (mrefsm,
> paritym, etc) and for the first 3-4 arguments that are not temp-based?

I tried when making the patch and I think it makes things more confusing.
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to