[x265] [PATCH] asm: fix output change due to overflow in mbtree_propagate_cost 10bit asm
dnyaneshwar at multicorewareinc.com
dnyaneshwar at multicorewareinc.com
Wed Nov 18 07:58:26 CET 2015
# HG changeset patch
# User Dnyaneshwar G <dnyaneshwar at multicorewareinc.com>
# Date 1447828315 -19800
# Wed Nov 18 12:01:55 2015 +0530
# Node ID 58c177d2e182e5b633670024c567b535eb49614f
# Parent e8f9a60d4cd9e73c9f2baf05c2ccda5af1892b46
asm: fix output change due to overflow in mbtree_propagate_cost 10bit asm
diff -r e8f9a60d4cd9 -r 58c177d2e182 source/common/x86/mc-a2.asm
--- a/source/common/x86/mc-a2.asm Mon Nov 16 16:44:33 2015 +0530
+++ b/source/common/x86/mc-a2.asm Wed Nov 18 12:01:55 2015 +0530
@@ -1019,7 +1019,7 @@
por m3, m1
movd m1, [r1+r5*2] ; prop
-%if (BIT_DEPTH <= 10)
+%if (BIT_DEPTH <= 8)
pmaddwd m0, m2
%else
punpckldq m2, m2
@@ -1072,7 +1072,7 @@
por m3, m1
movd m1, [r1+r5*2] ; prop
-%if (BIT_DEPTH <= 10)
+%if (BIT_DEPTH <= 8)
pmaddwd m0, m2
%else
punpckldq m2, m2 ; DWORD [- 1 - 0]
@@ -1120,7 +1120,7 @@
pminsd xm3, xm2
pmovzxwd xm1, [r1+r5*2] ; prop
-%if (BIT_DEPTH <= 10)
+%if (BIT_DEPTH <= 8)
pmaddwd xm0, xm2
%else
pmulld xm0, xm2
@@ -1166,7 +1166,7 @@
movd xm1, [r1+r5*2] ; prop
pmovzxwd xm1, xm1
-%if (BIT_DEPTH <= 10)
+%if (BIT_DEPTH <= 8)
pmaddwd xm0, xm2
%else
pmulld xm0, xm2
@@ -1204,7 +1204,7 @@
movzx r6d, word [r1+r5*2] ; prop
movd xm1, r6d
-%if (BIT_DEPTH <= 10)
+%if (BIT_DEPTH <= 8)
pmaddwd xm0, xm2
%else
pmulld xm0, xm2
More information about the x265-devel
mailing list