[x265] [PATCH] blockfil_s, 32x32 sub replaced with dec

praveen at multicorewareinc.com praveen at multicorewareinc.com
Thu Nov 7 16:33:56 CET 2013


# HG changeset patch
# User Praveen Tiwari
# Date 1383838424 -19800
# Node ID b3409a47634c5f29a9978e357e676637ab2ffd25
# Parent  3db284158e681c643d92df531ea5a6311125bb5a
blockfil_s, 32x32 sub replaced with dec

diff -r 3db284158e68 -r b3409a47634c source/common/x86/blockcopy8.asm
--- a/source/common/x86/blockcopy8.asm	Thu Nov 07 21:01:35 2013 +0530
+++ b/source/common/x86/blockcopy8.asm	Thu Nov 07 21:03:44 2013 +0530
@@ -1755,7 +1755,7 @@
 INIT_XMM sse2
 cglobal blockfil_s_%1x%2, 3, 5, 1, dest, destStride, val
 
-mov        r3d,           %2
+mov        r3d,           %2/4
 
 add        r1,            r1
 
@@ -1788,7 +1788,7 @@
 
      lea        r0,                 [r0 + 4 * r1]
 
-     sub        r3d,                4
+     dec        r3d
      jnz        .loop
 
 RET


More information about the x265-devel mailing list