On Tue, 8 Jan 2013, Daniel Kang wrote:

> +cglobal yadif_filter_line, 9, 9, 8, 16*5, dst, prev, cur, next, w, prefs, \
> +                                          mrefs, parity, mode

If you never use parity and mode as regs, then reduce register allocation.

> +    test             wq, wq
> +    jle .ret
> +    movsxdifnidn prefsq, prefsd
> +    movsxdifnidn mrefsq, mrefsd
> +
> +    cmp   DWORD paritym, 0
> +    je .parity0
> +    FILTER 1, prevq, curq
> +    jmp .ret
> +
> +.parity0:
> +    FILTER 0, curq, nextq
> +
> +.ret:
> +    RET

--Loren Merritt
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to