<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Oct 30, 2013 at 3:16 AM, <span dir="ltr"><<a href="mailto:dnyaneshwar@multicorewareinc.com" target="_blank">dnyaneshwar@multicorewareinc.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"># HG changeset patch<br>
# User Dnyaneshwar Gorade <<a href="mailto:dnyaneshwar@multicorewareinc.com">dnyaneshwar@multicorewareinc.com</a>><br>
# Date 1383120938 -19800<br>
# Wed Oct 30 13:45:38 2013 +0530<br>
# Node ID c08f78ad73bf677164f3ffec707a1fb22de21d59<br>
# Parent 147651ebea036e9378966a8e1e187dbab72d3896<br>
asm: assembly code for pixel_sad_64x32<br>
<br>
diff -r 147651ebea03 -r c08f78ad73bf source/common/x86/asm-primitives.cpp<br>
--- a/source/common/x86/asm-primitives.cpp Wed Oct 30 13:25:12 2013 +0530<br>
+++ b/source/common/x86/asm-primitives.cpp Wed Oct 30 13:45:38 2013 +0530<br>
@@ -247,6 +247,7 @@<br>
p.sad[LUMA_32x64] = x265_pixel_sad_32x64_sse2;<br>
<br>
p.sad[LUMA_64x16] = x265_pixel_sad_64x16_sse2;<br></blockquote><div><br></div><div>this bit of patch context implies this patch needs sad_64x16 to be checked in, but I haven't seen such a patch</div><div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
+ p.sad[LUMA_64x32] = x265_pixel_sad_64x32_sse2;<br>
<br>
ASSGN_SSE(sse2);<br>
INIT2(sad, _sse2);<br>
diff -r 147651ebea03 -r c08f78ad73bf source/common/x86/sad-a.asm<br>
--- a/source/common/x86/sad-a.asm Wed Oct 30 13:25:12 2013 +0530<br>
+++ b/source/common/x86/sad-a.asm Wed Oct 30 13:45:38 2013 +0530<br>
@@ -774,6 +774,36 @@<br>
movd eax, m0<br>
RET<br>
<br>
+;-----------------------------------------------------------------------------<br>
+; int pixel_sad_64x32( uint8_t *, intptr_t, uint8_t *, intptr_t )<br>
+;-----------------------------------------------------------------------------<br>
+cglobal pixel_sad_64x32, 4,4,5<br>
+ pxor m0, m0<br>
+ mov r4, 32<br>
+<br>
+.loop<br>
+ PROCESS_SAD_64x4<br>
+ lea r2, [r2 + r3]<br>
+ lea r0, [r0 + r1]<br>
+<br>
+ PROCESS_SAD_64x4<br>
+ lea r2, [r2 + r3]<br>
+ lea r0, [r0 + r1]<br>
+<br>
+ sub r4, 8<br>
+ cmp r4, 8<br>
+<br>
+jnz .loop<br>
+ PROCESS_SAD_64x4<br>
+ lea r2, [r2 + r3]<br>
+ lea r0, [r0 + r1]<br>
+ PROCESS_SAD_64x4<br>
+<br>
+ movhlps m1, m0<br>
+ paddd m0, m1<br>
+ movd eax, m0<br>
+ RET<br>
+<br>
%endmacro<br>
<br>
INIT_XMM sse2<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>