[x265] [PATCH] asm code for blockcopy_ps_24x32

Praveen Tiwari praveen at multicorewareinc.com
Mon Nov 11 14:43:26 CET 2013


Sent Patch.

Regards,
Praveen Tiwari


On Mon, Nov 11, 2013 at 6:54 PM, chen <chenm003 at 163.com> wrote:

>
> >+;-----------------------------------------------------------------------------
>
> >+; void blockcopy_ps_%1x%2(int16_t *dest, intptr_t destStride, pixel *src, intptr_t srcStride);
>
> >+;-----------------------------------------------------------------------------
> >+%macro BLOCKCOPY_PS_W24_H2 2
> >+INIT_XMM sse4
> >+cglobal blockcopy_ps_%1x%2, 4, 5, 3, dest, destStride, src, srcStride
> >+
> >+add        r1,      r1
> >+mov        r4d,     %2/2
> >+pxor       m0,      m0
> >+
> >+.loop
> >+      movu       m1,             [r2]
> >+      pmovzxbw   m2,             m1
> >+      movu       [r0],           m2
> >+      punpckhbw  m1,             m0
> >+      movu       [r0 + 16],      m1
> >+
> >+      movu       m1,             [r2 + 16]
> movh
>
> >+      pmovzxbw   m1,             m1
> >+      movu       [r0 + 32],      m1
>
> _______________________________________________
> x265-devel mailing list
> x265-devel at videolan.org
> https://mailman.videolan.org/listinfo/x265-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20131111/06b89ac5/attachment.html>


More information about the x265-devel mailing list