<html><head></head><body><div style="color:#000; background-color:#fff; font-family:verdana, helvetica, sans-serif;font-size:24px"><div id="yui_3_16_0_1_1496678591022_31788"><span id="yui_3_16_0_1_1496678591022_33871">Hello,</span></div><div id="yui_3_16_0_1_1496678591022_31788"><span><br></span></div><div id="yui_3_16_0_1_1496678591022_31788" dir="ltr"><span id="yui_3_16_0_1_1496678591022_31831">1. Can you please tell me how can I find the type of my Intel Xeon?</span></div><div id="yui_3_16_0_1_1496678591022_31788" dir="ltr"><span id="yui_3_16_0_1_1496678591022_33830">I see in LLVM code that Intel Xeon processors can be of type "core2", "penryn", "westmere", "skylake".</span></div><div id="yui_3_16_0_1_1496678591022_31788" dir="ltr"><span><br></span></div><div id="yui_3_16_0_1_1496678591022_31788" dir="ltr"><span id="yui_3_16_0_1_1496678591022_33829">2. I also see that "skylake" can be a type and a subtype as well.</span></div><div id="yui_3_16_0_1_1496678591022_31788" dir="ltr"><span id="yui_3_16_0_1_1496678591022_34031">How can I find out the subtype of my architecture?</span></div><div id="yui_3_16_0_1_1496678591022_31788" dir="ltr"><span><br></span></div><div id="yui_3_16_0_1_1496678591022_31788" dir="ltr">Looking forward for you answer. Thank you.</div><div id="yui_3_16_0_1_1496678591022_31788" dir="ltr">Iulia</div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: verdana, helvetica, sans-serif; font-size: 24px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"><font size="2" face="Arial"> On Sunday, June 4, 2017 7:11 PM, Tim Northover <t.p.northover@gmail.com> wrote:<br></font></div>  <br><br> <div class="y_msg_container"><div dir="ltr">Hi Lulia,<br clear="none"><div class="yqt2103519289" id="yqtfd42851"><br clear="none">On 4 June 2017 at 08:39, Iulia Stirb via llvm-dev<br clear="none"><<a shape="rect" ymailto="mailto:llvm-dev@lists.llvm.org" href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br clear="none">> Does LLVM support code generation for Intel Processors? Which Intel<br clear="none">> processors are supported? I am interested especially in Intel Xeon<br clear="none">> Processor, but you can give me information about the others as well.</div><br clear="none"><br clear="none">Yes, x86 output is supported. "Xeon" is just a brand name for Intel's<br clear="none">server chips though, and covers lots of very different CPUs going back<br clear="none">many years.<br clear="none"><br clear="none">LLVM distinguishes them by which instructions the CPU supports, which<br clear="none">is mostly determined by which generation the chip is. You may have<br clear="none">heard names like "Haswell", "Skylake", "Canonlake" mentioned; and<br clear="none">those are what LLVM uses to choose what you're compiling for. For<br clear="none">example if you know your Xeon is a Skylake one you'd specify<br clear="none">"-mcpu=skylake" (or an equivalent via the C++ API if you're writing<br clear="none">your own compiler).<br clear="none"><br clear="none">LLVM is capable of generating code for all of them, though some may<br clear="none">have had more tuning work for performance.<br clear="none"><br clear="none">Cheers.<br clear="none"><br clear="none">Tim.<div class="yqt2103519289" id="yqtfd50265"><br clear="none"></div></div><br><br></div>  </div> </div>  </div></div></body></html>