[x265] fix: calcrecon asm code for HIGH_BIT_DEPTH

Satoshi Nakagawa nakagawa424 at oki.com
Wed Apr 2 09:15:01 CEST 2014


# HG changeset patch
# User Satoshi Nakagawa <nakagawa424 at oki.com>
# Date 1396422746 -32400
#      Wed Apr 02 16:12:26 2014 +0900
# Node ID a7e96e9909068758588832e47637c7f8e30e5228
# Parent  03bad90e94adce6fb89c6d5edb86919a1e783402
fix: calcrecon asm code for HIGH_BIT_DEPTH

diff -r 03bad90e94ad -r a7e96e990906 source/common/x86/pixel-util8.asm
--- a/source/common/x86/pixel-util8.asm	Wed Apr 02 06:51:35 2014 +0530
+++ b/source/common/x86/pixel-util8.asm	Wed Apr 02 16:12:26 2014 +0900
@@ -91,16 +91,16 @@
 
     ; store recipred[]
     movh        [r3], m0
-    movhps      [r3 + r5], m0
+    movhps      [r3 + r6], m0
 
     ; store recqt[]
     movh        [r2], m0
-    movhps      [r2 + r6], m0
+    movhps      [r2 + r5], m0
 
     lea         r0, [r0 + r4 * 2]
     lea         r1, [r1 + r4 * 2]
-    lea         r2, [r2 + r6 * 2]
-    lea         r3, [r3 + r5 * 2]
+    lea         r2, [r2 + r5 * 2]
+    lea         r3, [r3 + r6 * 2]
 
     dec         t7b
     jnz        .loop
@@ -291,7 +291,7 @@
     ; store recqt[]
     movu        [r2], m0
     movu        [r2 + 16], m1
-    add         r2, r6
+    add         r2, r5
 
     lea         r0, [r0 + r4 * 2]
     lea         r1, [r1 + r4 * 2]


More information about the x265-devel mailing list