[x265] [PATCH 1 of 2] fix satd_4x8 overflow in Main12, Issue #180

Min Chen chenm003 at 163.com
Mon Sep 14 22:47:04 CEST 2015


# HG changeset patch
# User Min Chen <chenm003 at 163.com>
# Date 1442262402 18000
# Node ID d80790d350d0abdfa39e8f69c31be0b71ca3a1a3
# Parent  0c67e84d49d3c5abc6fd90490a1e99b7c917a66b
fix satd_4x8 overflow in Main12, Issue #180
---
 source/common/x86/pixel-a.asm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff -r 0c67e84d49d3 -r d80790d350d0 source/common/x86/pixel-a.asm
--- a/source/common/x86/pixel-a.asm	Mon Sep 14 15:00:41 2015 -0500
+++ b/source/common/x86/pixel-a.asm	Mon Sep 14 15:26:42 2015 -0500
@@ -631,7 +631,7 @@
     mova m7, [hmul_4p]
 %endif
     SATD_4x8_SSE vertical, 0, swap
-    HADDW m7, m1
+    HADDUW m7, m1
     movd eax, m7
     RET
 



More information about the x265-devel mailing list