<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="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">--- <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>