<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Oct 30, 2013 at 1:08 AM, <span dir="ltr"><<a href="mailto:yuvaraj@multicorewareinc.com" target="_blank">yuvaraj@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 Yuvaraj Venkatesh <<a href="mailto:yuvaraj@multicorewareinc.com">yuvaraj@multicorewareinc.com</a>><br>
# Date 1383113029 -19800<br>
# Wed Oct 30 11:33:49 2013 +0530<br>
# Node ID c218021583e62a36c06d8f8787e5e5bec13beae6<br>
# Parent c946d617fd9fbd2ae237d5ba7d8338a1a3f5ea7d<br>
assembly code for pixel_sad_x3_4x16 and pixel_sad_x4_4x16<br></blockquote><div><br></div><div>Well, that was easy. Thanks</div><div><br></div><div>In the future, any patches like this one which make intrinsic functions no longer necessary should remove those intrinsics in the same patch.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
diff -r c946d617fd9f -r c218021583e6 source/common/x86/asm-primitives.cpp<br>
--- a/source/common/x86/asm-primitives.cpp Tue Oct 29 15:16:28 2013 +0530<br>
+++ b/source/common/x86/asm-primitives.cpp Wed Oct 30 11:33:49 2013 +0530<br>
@@ -221,8 +221,8 @@<br>
{<br>
INIT8_NAME(sse_pp, ssd, _mmx);<br>
INIT8(sad, _mmx2);<br>
- INIT7(sad_x3, _mmx2);<br>
- INIT7(sad_x4, _mmx2);<br>
+ INIT8(sad_x3, _mmx2);<br>
+ INIT8(sad_x4, _mmx2);<br>
INIT8(satd, _mmx2);<br>
HEVC_SATD(mmx2);<br>
p.satd[LUMA_12x16] = cmp<12, 16, 4, 16, x265_pixel_satd_4x16_mmx2>;<br>
diff -r c946d617fd9f -r c218021583e6 source/common/x86/sad-a.asm<br>
--- a/source/common/x86/sad-a.asm Tue Oct 29 15:16:28 2013 +0530<br>
+++ b/source/common/x86/sad-a.asm Wed Oct 30 11:33:49 2013 +0530<br>
@@ -1111,6 +1111,7 @@<br>
SAD_X 3, 8, 16<br>
SAD_X 3, 8, 8<br>
SAD_X 3, 8, 4<br>
+SAD_X 3, 4, 16<br>
SAD_X 3, 4, 8<br>
SAD_X 3, 4, 4<br>
SAD_X 4, 16, 16<br>
@@ -1118,6 +1119,7 @@<br>
SAD_X 4, 8, 16<br>
SAD_X 4, 8, 8<br>
SAD_X 4, 8, 4<br>
+SAD_X 4, 4, 16<br>
SAD_X 4, 4, 8<br>
SAD_X 4, 4, 4<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>