[x265] [PATCH] blockfil_s, 16x16 sub replaced with dec

praveen at multicorewareinc.com praveen at multicorewareinc.com
Thu Nov 7 16:31:49 CET 2013


# HG changeset patch
# User Praveen Tiwari
# Date 1383838295 -19800
# Node ID 3db284158e681c643d92df531ea5a6311125bb5a
# Parent  7fd763aee9dfcbe2305582c4389c617855e2ee90
blockfil_s, 16x16 sub replaced with dec

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


More information about the x265-devel mailing list