<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><DIV>I guess this is SSSE3 intrinsic, we need modify cmake</DIV>
<DIV>ex: merge below two part into one "-mssse3"</DIV>
<DIV> </DIV>
<DIV>            set_source_files_properties(<BR>                vec/blockcopy-sse3.cpp vec/pixel-sse3.cpp vec/dct-sse3.cpp vec/intra-sse3.cpp<BR>                PROPERTIES COMPILE_FLAGS "-msse3")<BR>            set_source_files_properties(<BR>                vec/ipfilter-ssse3.cpp vec/pixel-ssse3.cpp vec/dct-ssse3.cpp<BR>                PROPERTIES COMPILE_FLAGS "-mssse3")<BR><BR></DIV>
<DIV></DIV>
<DIV id="divNeteaseMailCard"></DIV>
<DIV><BR></DIV>ÔÚ 2013-10-21 04:44:00£¬"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 Sun, Oct 20, 2013 at 7:51 AM, JMK <SPAN dir="ltr"><<A href="mailto:three4teen16@coldmail.nu" target="_blank">three4teen16@coldmail.nu</A>></SPAN> wrote:<BR>
<BLOCKQUOTE class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">--- <A href="mailto:chenm003@163.com">chenm003@163.com</A> wrote:<BR><BR>> a little typo problem, thanks<BR>> here is temporary patch<BR><BR>Thanks for the attention, but the patch you've sent doesn't work...<BR><BR>[ 68%] Building CXX object common/CMakeFiles/common.dir/vec/intra-sse3.cpp.obj<BR>In file included from F:/GITS/X265/20131020/source/common/vec/intra-sse3.cpp:32:0:<BR>e:\gcc481\mingw\lib\gcc\i686-w64-mingw32\4.8.1\include\tmmintrin.h:31:3: error: #error "SSSE3 instruction set not enabled"<BR> # error "SSSE3 instruction set not enabled"<BR>   ^<BR>F:/GITS/X265/20131020/source/common/vec/intra-sse3.cpp: In function 'void {anonymous}::intra_pred_dc(pixel*, pixel*, pixel*, intptr_t, int, int)':<BR>F:/GITS/X265/20131020/source/common/vec/intra-sse3.cpp:178:74: error: '_mm_hadd_epi16' was not declared in this scope<BR>         sum  = _mm_cvtsi128_si32(_mm_hadd_epi16(_mm_hadd_epi16(temp, temp), temp));<BR>                                                                          ^<BR>F:/GITS/X265/20131020/source/common/vec/intra-sse3.cpp:178:81: error: '_mm_hadd_epi16' was not declared in this scope<BR>         sum  = _mm_cvtsi128_si32(_mm_hadd_epi16(_mm_hadd_epi16(temp, temp), temp));<BR>                                                                                 ^<BR>F:/GITS/X265/20131020/source/common/vec/intra-sse3.cpp:178:81: error: redeclaration of '<typeprefixerror>_mm_hadd_epi16'<BR>F:/GITS/X265/20131020/source/common/vec/intra-sse3.cpp:178:74: note: previous declaration '<typeprefixerror>_mm_hadd_epi16'<BR>         sum  = _mm_cvtsi128_si32(_mm_hadd_epi16(_mm_hadd_epi16(temp, temp), temp));<BR>                                                                          ^<BR>make[2]: *** [common/CMakeFiles/common.dir/vec/intra-sse3.cpp.obj] Error 1<BR>make[1]: *** [common/CMakeFiles/common.dir/all] Error 2<BR>make: *** [all] Error 2<BR></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>the new function is using SSE4.1 instructions, so the function needs to be moved to intra-sse41.cpp </DIV></DIV>
<DIV><BR></DIV>-- <BR>Steve Borho </DIV></DIV></BLOCKQUOTE></div>