[x265] [PATCH Review Only, Need to code all modes] all_angs_pred_8x8, asm code for mode 2

chen chenm003 at 163.com
Thu Dec 5 15:59:12 CET 2013


>+;-----------------------------------------------------------------------------
>+; void all_angs_pred_8x8(pixel *dest, pixel *above0, pixel *left0, pixel *above1, pixel *left1, bool bLuma)
>+;-----------------------------------------------------------------------------
>+INIT_XMM sse4
>+cglobal all_angs_pred_8x8, 6, 6, 8 dest, above0, left0, above1, left1, bLuma
>+
>+; mode 2
>+
>+movu          m0,         [r4 + 2]
>+
>+palignr       m1,         m0,          1
>+punpcklqdq    m0,         m1
>+movu          [r0],       m0
>+
>+psrldq        m1,         1
>+palignr       m0,         m1,          1
>+punpcklqdq    m1,         m0
>+movu          [r0 + 16],  m1
I can't understand this block, why shift left then right, mov is better
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20131205/b3db9015/attachment-0001.html>


More information about the x265-devel mailing list