<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><DIV>My asm patch depend on this patch, please submit after this patch verifyed.<BR><BR></DIV>ÔÚ 2013-10-17 16:25:27£¬"Steve Borho" <steve@borho.org> дµÀ£º<BR>
<BLOCKQUOTE id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<DIV dir="ltr"><BR>
<DIV class="gmail_extra"><BR><BR>
<DIV class="gmail_quote">On Thu, Oct 17, 2013 at 2:43 AM, <SPAN dir="ltr"><<A href="mailto:yuvaraj@multicorewareinc.com" target="_blank">yuvaraj@multicorewareinc.com</A>></SPAN> wrote:<BR>
<BLOCKQUOTE class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"># HG changeset patch<BR># User Yuvaraj Venkatesh <<A href="mailto:yuvaraj@multicorewareinc.com">yuvaraj@multicorewareinc.com</A>><BR># Date 1381995774 -19800<BR># Thu Oct 17 13:12:54 2013 +0530<BR># Node ID 6f7ce9050675df305f39c16f7aa6e43767eecb0e<BR># Parent 1d6b3626f1b3d4b8f8f181e66eaaa649f90bac02<BR>pixel: fix the hash mismatch due to convert32to16_shr<BR></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>I'm holding this patch hostage until there's a test function for these convert primitives :)</DIV>
<DIV> </DIV>
<BLOCKQUOTE class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">diff -r 1d6b3626f1b3 -r 6f7ce9050675 source/common/vec/pixel-sse3.cpp<BR>--- a/source/common/vec/pixel-sse3.cpp Wed Oct 16 20:38:44 2013 -0500<BR>+++ b/source/common/vec/pixel-sse3.cpp Thu Oct 17 13:12:54 2013 +0530<BR>@@ -44,7 +44,7 @@<BR> im32 = _mm_loadu_si128((__m128i const*)org);<BR> im32 = _mm_sra_epi32(_mm_add_epi32(im32, round), _mm_cvtsi32_si128(shift));<BR> im16 = _mm_packs_epi32(im32, im32);<BR>- _mm_storeu_si128((__m128i*)dst, im16);<BR>+ _mm_storel_epi64((__m128i*)dst, im16);<BR><BR> org += 4;<BR> dst += 4;<BR>@@ -636,7 +636,7 @@<BR> namespace x265 {<BR> void Setup_Vec_PixelPrimitives_sse3(EncoderPrimitives &p)<BR> {<BR>- //p.cvt32to16_shr = convert32to16_shr;<BR>+ p.cvt32to16_shr = convert32to16_shr;<BR> p.cvt16to32_shl = convert16to32_shl;<BR> p.cvt16to16_shl = convert16to16_shl;<BR><BR>_______________________________________________<BR>x265-devel mailing list<BR><A href="mailto:x265-devel@videolan.org">x265-devel@videolan.org</A><BR><A href="https://mailman.videolan.org/listinfo/x265-devel" target="_blank">https://mailman.videolan.org/listinfo/x265-devel</A><BR></BLOCKQUOTE></DIV><BR><BR clear="all">
<DIV><BR></DIV>-- <BR>Steve Borho </DIV></DIV></BLOCKQUOTE></div>