[x265] [PATCH] SSE-ASM: fix quant primitive output mismatch
praveen at multicorewareinc.com
praveen at multicorewareinc.com
Mon Feb 16 13:56:41 CET 2015
# HG changeset patch
# User Praveen Tiwari <praveen at multicorewareinc.com>
# Date 1424091389 -19800
# Node ID cbec71924b09f27e80f2c752caad9e0e7bf7878b
# Parent 2495fbd5792104c96c4ca5faf18807cc45a35da0
SSE-ASM: fix quant primitive output mismatch
diff -r 2495fbd57921 -r cbec71924b09 source/common/x86/pixel-util8.asm
--- a/source/common/x86/pixel-util8.asm Mon Feb 16 16:16:04 2015 +0530
+++ b/source/common/x86/pixel-util8.asm Mon Feb 16 18:26:29 2015 +0530
@@ -485,11 +485,11 @@
dec r4d
jnz .loop
- pxor m0, m0
- psadbw m7, m0
- movhlps m0, m7
- paddd m7, m0
- movd eax, m7
+ pshufd m0, m7, 00001110b
+ paddd m0, m7
+ pshufd m1, m0, 00000001b
+ paddd m0, m1
+ movd eax, m0
RET
More information about the x265-devel
mailing list