[x265] [PATCH] asm: fix mismatch due to dct32 avx2 assembly code

murugan at multicorewareinc.com murugan at multicorewareinc.com
Mon Sep 15 10:17:36 CEST 2014


# HG changeset patch
# User Murugan Vairavel <murugan at multicorewareinc.com>
# Date 1410769025 -19800
#      Mon Sep 15 13:47:05 2014 +0530
# Node ID b5fb734517c0fb2c0ea5f42d93c1cf944f171703
# Parent  184e56afa951815f4e295b4fcce094ee03361a2e
asm: fix mismatch due to dct32 avx2 assembly code

diff -r 184e56afa951 -r b5fb734517c0 source/common/x86/dct8.asm
--- a/source/common/x86/dct8.asm	Fri Sep 12 12:02:46 2014 +0530
+++ b/source/common/x86/dct8.asm	Mon Sep 15 13:47:05 2014 +0530
@@ -1341,7 +1341,7 @@
 
     mov             r5,                rsp
     mov             r4d,               2
-    add             r2d,               r2d
+    mov             r2d,               64
     lea             r3,                [r2 * 3]
     vpbroadcastd    m9,                [pd_512]
 
@@ -1558,7 +1558,7 @@
     dec             r4d
     jnz             .pass1
 
-    add             r2d,               r2d
+    mov             r2d,               128
     lea             r3,                [r2 * 3]
     mov             r5,                rsp
     mov             r4d,               8


More information about the x265-devel mailing list