<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">Hi Ximing,<br><br>If your machine (and OS also) supports AVX2 instruction set then you are already compiling and using AVX2 version of DCT functions.<br>x265 automatically detects & sets all assembly primitives to highest/latest available instruction sets.<br><br>When you run encoder, you can check command prompt output if cpu capabilities info shows AVX2 instruction set or not.<br>You can get the source code of DCT AVX2 functions in dct8.asm file.<br><br><br>Regards,<br>Dnyaneshwar<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 16, 2015 at 6:25 PM, Ximing Cheng <span dir="ltr"><<a href="mailto:chengximing1989@gmail.com" target="_blank">chengximing1989@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I read the source code of the /source/common/vec/dct-sse3.cpp and I found the comments said "Note: We have AVX2 assembly for these functions, but since AVX2 is still somewhat rare on end-user PCs we still compile and link these SSE3 intrinsic SIMD functions". <div><br></div><div>But now both my PC and server support Intel AVX2 instruction set. If I want to compile these functions with AVX2 assembly, where to find the AVX2 version of source code of these functions?</div><div><br></div><div>Thanks!</div></div>
<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" rel="noreferrer" target="_blank">https://mailman.videolan.org/listinfo/x265-devel</a><br>
<br></blockquote></div><br></div>