<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Using ippGetCpuFeatures in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Using-ippGetCpuFeatures/m-p/850593#M6502</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I would like to determine the architectures' postfixes using the new method (ippGetCpuFeatures).&lt;BR /&gt;I tried to make the pairing based on the example sources. I made the following:&lt;BR /&gt;&lt;BR /&gt;
&lt;PRE&gt;[cpp]Ipp64u featureMask;
ippGetCpuFeatures(&amp;amp;featureMask, NULL);
#if (defined(_WIN64) || defined(LINUX64))
if (featureMask &amp;amp; ippCPUID_SSE41) {
//Y8
}
else if (featureMask &amp;amp; ippCPUID_SSSE3) {
//U8
}
else if (featureMask &amp;amp; ippCPUID_SSE3) {
//M7
}
#else
if (featureMask &amp;amp; ippCPUID_SSE41) {
//P8
}
else if (featureMask &amp;amp; ippCPUID_SSSE3) {
//V8
}
else if (featureMask &amp;amp; ippCPUID_SSE3) {
//T7
}
else if(featureMask &amp;amp; ippCPUID_SSE2) {
//W7
}
else {
//PX
}
#endif[/cpp]&lt;/PRE&gt;
&lt;BR /&gt;Is this correct?&lt;BR /&gt;I saw that there are libraries with s8, mx and n8 endings. What about them?&lt;BR /&gt;What should be the default selection on an em64t machine(px on 32bit)?&lt;BR /&gt;Thx,&lt;BR /&gt;Miki</description>
    <pubDate>Tue, 03 Feb 2009 14:44:38 GMT</pubDate>
    <dc:creator>Miklós_Szeles</dc:creator>
    <dc:date>2009-02-03T14:44:38Z</dc:date>
    <item>
      <title>Using ippGetCpuFeatures</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Using-ippGetCpuFeatures/m-p/850593#M6502</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I would like to determine the architectures' postfixes using the new method (ippGetCpuFeatures).&lt;BR /&gt;I tried to make the pairing based on the example sources. I made the following:&lt;BR /&gt;&lt;BR /&gt;
&lt;PRE&gt;[cpp]Ipp64u featureMask;
ippGetCpuFeatures(&amp;amp;featureMask, NULL);
#if (defined(_WIN64) || defined(LINUX64))
if (featureMask &amp;amp; ippCPUID_SSE41) {
//Y8
}
else if (featureMask &amp;amp; ippCPUID_SSSE3) {
//U8
}
else if (featureMask &amp;amp; ippCPUID_SSE3) {
//M7
}
#else
if (featureMask &amp;amp; ippCPUID_SSE41) {
//P8
}
else if (featureMask &amp;amp; ippCPUID_SSSE3) {
//V8
}
else if (featureMask &amp;amp; ippCPUID_SSE3) {
//T7
}
else if(featureMask &amp;amp; ippCPUID_SSE2) {
//W7
}
else {
//PX
}
#endif[/cpp]&lt;/PRE&gt;
&lt;BR /&gt;Is this correct?&lt;BR /&gt;I saw that there are libraries with s8, mx and n8 endings. What about them?&lt;BR /&gt;What should be the default selection on an em64t machine(px on 32bit)?&lt;BR /&gt;Thx,&lt;BR /&gt;Miki</description>
      <pubDate>Tue, 03 Feb 2009 14:44:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Using-ippGetCpuFeatures/m-p/850593#M6502</guid>
      <dc:creator>Miklós_Szeles</dc:creator>
      <dc:date>2009-02-03T14:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: Using ippGetCpuFeatures</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Using-ippGetCpuFeatures/m-p/850594#M6503</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;BR /&gt;You may check the article "Understand CPU optimized code used in IPP" at:&lt;BR /&gt;&lt;A href="http://software.intel.com/en-us/articles/intel-integrated-performance-primitives-intel-ipp-understanding-cpu-optimized-code-used-in-intel-ipp/"&gt;http://software.intel.com/en-us/articles/intel-integrated-performance-primitives-intel-ipp-understanding-cpu-optimized-code-used-in-intel-ipp/&lt;/A&gt; and relevant code used in Intel 64.&lt;BR /&gt;&lt;BR /&gt;Other topics related to IPP performance and optimizations can be found at:&lt;BR /&gt;&lt;A href="http://software.intel.com/en-us/articles/intel-integrated-performance-primitives/performance-and-optimization/1/"&gt;http://software.intel.com/en-us/articles/intel-integrated-performance-primitives/performance-and-optimization/1/&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Ying &lt;BR /&gt;</description>
      <pubDate>Tue, 03 Feb 2009 19:28:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Using-ippGetCpuFeatures/m-p/850594#M6503</guid>
      <dc:creator>Ying_S_Intel</dc:creator>
      <dc:date>2009-02-03T19:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: Using ippGetCpuFeatures</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Using-ippGetCpuFeatures/m-p/850595#M6504</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;Hi Ying,&lt;BR /&gt;&lt;BR /&gt;Thanks for the answer, now I know what are the other architectures, but I don't know when to select them based on the ippGetCPUFeatures return values, and I also don't know, if my posted code is correct or not. Please help with this issue.&lt;BR /&gt;BR,&lt;BR /&gt;Miki&lt;BR /&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 04 Feb 2009 16:25:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Using-ippGetCpuFeatures/m-p/850595#M6504</guid>
      <dc:creator>Miklós_Szeles</dc:creator>
      <dc:date>2009-02-04T16:25:35Z</dc:date>
    </item>
  </channel>
</rss>

