[x265] [PATCH] blockcopy_sp_4x16, corrected register count

Steve Borho steve at borho.org
Fri Nov 8 19:43:06 CET 2013


On Fri, Nov 8, 2013 at 4:04 AM, <praveen at multicorewareinc.com> wrote:

> # HG changeset patch
> # User Praveen Tiwari
> # Date 1383905059 -19800
> # Node ID eee937070b03167e1f2055620b641957c47a0a5c
> # Parent  f7b595a4bd0f749ce115ef7f4bf74bd814fa803d
> blockcopy_sp_4x16, corrected register count
>

folded


>
> diff -r f7b595a4bd0f -r eee937070b03 source/common/x86/blockcopy8.asm
> --- a/source/common/x86/blockcopy8.asm  Fri Nov 08 15:14:12 2013 +0530
> +++ b/source/common/x86/blockcopy8.asm  Fri Nov 08 15:34:19 2013 +0530
> @@ -992,9 +992,9 @@
>
>  ;-----------------------------------------------------------------------------
>  %macro BLOCKCOPY_SP_W4_H8 2
>  INIT_XMM sse2
> -cglobal blockcopy_sp_%1x%2, 4, 7, 8, dest, destStride, src, srcStride
> +cglobal blockcopy_sp_%1x%2, 4, 5, 8, dest, destStride, src, srcStride
>
> -mov         r6d,    %2/8
> +mov         r4d,    %2/8
>
>  add         r3,     r3
>
> @@ -1035,7 +1035,7 @@
>       lea        r0,            [r0 + 2 * r1]
>       lea        r2,            [r2 + 2 * r3]
>
> -     dec        r6d
> +     dec        r4d
>       jnz        .loop
>
>  RET
> @@ -1043,7 +1043,6 @@
>
>  BLOCKCOPY_SP_W4_H8 4, 16
>
> -
>
>  ;-----------------------------------------------------------------------------
>  ; void blockcopy_sp_6x8(pixel *dest, intptr_t destStride, int16_t *src,
> intptr_t srcStride)
>
>  ;-----------------------------------------------------------------------------
> _______________________________________________
> x265-devel mailing list
> x265-devel at videolan.org
> https://mailman.videolan.org/listinfo/x265-devel
>



-- 
Steve Borho
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20131108/7e7c986a/attachment.html>


More information about the x265-devel mailing list