[Zlib-devel] [8/8][RFC V3 Patch] ia64 implementation

Jan Seiffert kaffeemonster at googlemail.com
Sun Apr 24 12:49:36 EDT 2011


And to complete the round, an IA64 Version.

IA64 got some instructions from it's predecessors (some kind of MMX
from x86, mix/mux and other things from PA-RISC, some details from
Alpha), so we can build a special version.
The problem is IA64s EPIC architecture, which needs excessive
unrolling and other foo. Luckily we have enough register.

Here are the numbers:
an IA64 (McKinley)
        -------- orig ------
               a: 0x0CB4B676, 10000 * 160000 bytes     t: 1912 ms
               a: 0x25BEB273, 10000 * 159999 bytes     t: 1916 ms
               a: 0x733CB174, 10000 * 159998 bytes     t: 1912 ms
               a: 0x1144AF76, 10000 * 159996 bytes     t: 1916 ms
               a: 0x3F4ECB8A, 10000 * 159992 bytes     t: 1916 ms
               a: 0x1902A382, 10000 * 159984 bytes     t: 1912 ms
        -------- vec ------
               a: 0x0CB4B676, 10000 * 160000 bytes     t: 760 ms
               a: 0x25BEB273, 10000 * 159999 bytes     t: 764 ms
               a: 0x733CB174, 10000 * 159998 bytes     t: 760 ms
               a: 0x1144AF76, 10000 * 159996 bytes     t: 760 ms
               a: 0x3F4ECB8A, 10000 * 159992 bytes     t: 808 ms
               a: 0x1902A382, 10000 * 159984 bytes     t: 760 ms
        speedup: 2.515789

Thanks go to Mike Frysinger for access to a test machine.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 08-ia64.patch
Type: text/x-patch
Size: 24101 bytes
Desc: not available
URL: <http://madler.net/pipermail/zlib-devel_madler.net/attachments/20110424/eabf26aa/attachment.bin>


More information about the Zlib-devel mailing list