[x265] [PATCH] asm: fix testbench crash on downshift and upshift module when height is 1

murugan at multicorewareinc.com murugan at multicorewareinc.com
Mon Apr 21 13:54:24 CEST 2014


# HG changeset patch
# User Murugan Vairavel <murugan at multicorewareinc.com>
# Date 1398081246 -19800
#      Mon Apr 21 17:24:06 2014 +0530
# Node ID 29334b7675e04e456b555bafb04f7ed057583f90
# Parent  ccfd0819b5c3f5ab3bb153a318b3e57e1033b771
asm: fix testbench crash on downshift and upshift module when height is 1

diff -r ccfd0819b5c3 -r 29334b7675e0 source/common/x86/pixel-a.asm
--- a/source/common/x86/pixel-a.asm	Mon Apr 21 18:33:32 2014 +0800
+++ b/source/common/x86/pixel-a.asm	Mon Apr 21 17:24:06 2014 +0530
@@ -6365,6 +6365,8 @@
     movd        m0, r6d        ; m0 = shift
     add         r1, r1
     dec         r5d
+    jz          .loop16
+
 .loopH:
     xor         r6, r6
 .loopW:
@@ -6460,6 +6462,7 @@
     movd        m2, r6d        ; m0 = shift
     add         r3, r3
     dec         r5d
+    jz          .loop16
 
 .loopH:
     xor         r6, r6


More information about the x265-devel mailing list