<?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   in Intel® Moderncode for Parallel Architectures</title>
    <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/igzip-for-VS10-C/m-p/1008888#M6495</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;thankyou a lot&lt;/P&gt;

&lt;P&gt;igzip can create deflate (without header) or gzip&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;You probably need your code to add the (small) zlib header, which contain, I believe adler32 checksum&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Any news to a fallback for older CPU (core 2 duo before 2009, I believe) with incompatible instruction &amp;nbsp;?&lt;/P&gt;</description>
    <pubDate>Tue, 21 Oct 2014 12:15:21 GMT</pubDate>
    <dc:creator>gvollant</dc:creator>
    <dc:date>2014-10-21T12:15:21Z</dc:date>
    <item>
      <title>igzip for VS10 C++?</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/igzip-for-VS10-C/m-p/1008884#M6491</link>
      <description>&lt;P&gt;I was searching for a zlib-compatible compressor but faster, and came cross the paper describing igzip --&lt;/P&gt;

&lt;P&gt;High Performance DEFLATE Compression on Intel Architecture Processors&lt;/P&gt;

&lt;P&gt;igzip looks like exactly (!) what I am looking for.&amp;nbsp; Compatible with zlib, but faster.&lt;/P&gt;

&lt;P&gt;However, the downloadable source was for Linux.&amp;nbsp; I need it for a VS10 C++ project.&amp;nbsp; I have successfully (I think) compiled and assembled the desired modules (common, crc, crc_utils, hufftables, hufftables_c.cpp, igzip0c_body, igzip0c_finish, init_stream) into a .lib.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;But when I attempt to link the library into my project, I get error LNK2019: unresolved external symbol fast_lz (and init_stream) from where they are called.&amp;nbsp; I also have a "C" lz4 compression library linked into the project, and it works fine.&amp;nbsp; I have spent 3 days playing with it, looking for the clue that will unlock the symbols, but no luck so far.&lt;/P&gt;

&lt;P&gt;I get no other warnings and/or errors during the compiling/assembling of the library or project.&amp;nbsp; Any help (especially if anybody has done the work to create a VS10 lib igzip project) would be appreciated!&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Sep 2014 17:40:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/igzip-for-VS10-C/m-p/1008884#M6491</guid>
      <dc:creator>David_L_6</dc:creator>
      <dc:date>2014-09-30T17:40:47Z</dc:date>
    </item>
    <item>
      <title>Update:</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/igzip-for-VS10-C/m-p/1008885#M6492</link>
      <description>&lt;P&gt;Update:&lt;/P&gt;

&lt;P&gt;I was able to build the igzip library in my VC2010 C/C++ project.&amp;nbsp; Yay!&lt;/P&gt;

&lt;P&gt;1)&amp;nbsp; I needed to invoke the YASM assembler in the project (thanks to Brian Gladman's "Building YASM with Microsoft Visual Studio 2010 - C/C++ v10") for the .ASM modules.&lt;/P&gt;

&lt;P&gt;2)&amp;nbsp; There were a few things to change between GCC and MSVC in the C (called .cpp, but they were C) modules.&amp;nbsp; Ie:&amp;nbsp; adding "typedef" to structure definitions and pulling the functions out of an .h file and creating a separate .c(pp) file for them.&lt;/P&gt;

&lt;P&gt;But now I ran into an unrelated issue - the code uses the &lt;STRONG&gt;pclmulqdq&lt;/STRONG&gt; instruction which my processor does not support.&lt;/P&gt;

&lt;P&gt;I have looked for a .ASM macro to replace it (one supposedly resides in GAS, but I downloaded binutils 2.24 and did not find a reference to the instruction outside of the disassembler) but have had no luck.&amp;nbsp; I do have the psuedo code and can build a 'C' version, but that is not optimal (and of course there will be no bugs in my code.... ya, right...).&lt;/P&gt;

&lt;P&gt;Anybody out there with code/guidance?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Dave&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Oct 2014 22:22:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/igzip-for-VS10-C/m-p/1008885#M6492</guid>
      <dc:creator>David_L_6</dc:creator>
      <dc:date>2014-10-02T22:22:18Z</dc:date>
    </item>
    <item>
      <title>very good news.</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/igzip-for-VS10-C/m-p/1008886#M6493</link>
      <description>&lt;P&gt;very good news.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Is it possible you upload , send email or post on forum the full project?&lt;/P&gt;</description>
      <pubDate>Wed, 15 Oct 2014 21:20:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/igzip-for-VS10-C/m-p/1008886#M6493</guid>
      <dc:creator>gvollant</dc:creator>
      <dc:date>2014-10-15T21:20:37Z</dc:date>
    </item>
    <item>
      <title>I zipped up the VS10 igzip</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/igzip-for-VS10-C/m-p/1008887#M6494</link>
      <description>&lt;P&gt;I zipped up the VS10 igzip library files and attached it (also put the zip at: &lt;A href="http://www.cruzinsb.com/igzip_VS10/)" target="_blank"&gt;http://www.cruzinsb.com/igzip_VS10/)&lt;/A&gt;.&lt;/P&gt;

&lt;P&gt;My focus was to use igzip to create zlib (not gzip) compressed files.&amp;nbsp; So far I have been unsuccessful in replacing the gzip header/CRC with a zlib header/adler32.&amp;nbsp; Getting closer though.&lt;/P&gt;

&lt;P&gt;I believe the files zipped here have been returned to the successful gzip state with the zlib logic commented out.&lt;/P&gt;

&lt;P&gt;If anyone has zlib-compatible versions of igzip, I'm all ears!&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Oct 2014 17:23:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/igzip-for-VS10-C/m-p/1008887#M6494</guid>
      <dc:creator>David_L_6</dc:creator>
      <dc:date>2014-10-18T17:23:50Z</dc:date>
    </item>
    <item>
      <title> </title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/igzip-for-VS10-C/m-p/1008888#M6495</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;thankyou a lot&lt;/P&gt;

&lt;P&gt;igzip can create deflate (without header) or gzip&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;You probably need your code to add the (small) zlib header, which contain, I believe adler32 checksum&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Any news to a fallback for older CPU (core 2 duo before 2009, I believe) with incompatible instruction &amp;nbsp;?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Oct 2014 12:15:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/igzip-for-VS10-C/m-p/1008888#M6495</guid>
      <dc:creator>gvollant</dc:creator>
      <dc:date>2014-10-21T12:15:21Z</dc:date>
    </item>
    <item>
      <title> </title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/igzip-for-VS10-C/m-p/1008889#M6496</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;By reading RFC950 and&amp;nbsp;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&lt;A href="http://stackoverflow.com/questions/9050260/what-does-a-zlib-header-look-like" target="_blank"&gt;http://stackoverflow.com/questions/9050260/what-does-a-zlib-header-look-like&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Just begin by 0x78 0x01 (ou 0x78 0x9c) then deflate data then adler32 checkum&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Oct 2014 12:31:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/igzip-for-VS10-C/m-p/1008889#M6496</guid>
      <dc:creator>gvollant</dc:creator>
      <dc:date>2014-10-21T12:31:08Z</dc:date>
    </item>
    <item>
      <title> </title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/igzip-for-VS10-C/m-p/1008890#M6497</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;By reading RFC950 and&amp;nbsp;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&lt;A href="http://stackoverflow.com/questions/9050260/what-does-a-zlib-header-look-like" target="_blank"&gt;http://stackoverflow.com/questions/9050260/what-does-a-zlib-header-look-like&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Just begin by 0x78 0x01 (ou 0x78 0x9c) then deflate data then adler32 checkum&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Oct 2014 12:31:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/igzip-for-VS10-C/m-p/1008890#M6497</guid>
      <dc:creator>gvollant</dc:creator>
      <dc:date>2014-10-21T12:31:53Z</dc:date>
    </item>
  </channel>
</rss>

