[Zlib-devel] [6/8][RFC V3 Patch] Add an mips version of Adler32

Jan Seiffert kaffeemonster at googlemail.com
Sun May 1 12:09:46 EDT 2011


And here are the relative fixes for the loongson version.

This gives on an loongson-2f at 800MHz (mips)
         -------- orig ------
                a: 0x0CB4B676, 10000 * 160000 bytes     t: 5180 ms
                a: 0x25BEB273, 10000 * 159999 bytes     t: 5240 ms
                a: 0x733CB174, 10000 * 159998 bytes     t: 5310 ms
                a: 0x1144AF76, 10000 * 159996 bytes     t: 5300 ms
                a: 0x3F4ECB8A, 10000 * 159992 bytes     t: 5640 ms
                a: 0x1902A382, 10000 * 159984 bytes     t: 5590 ms
         -------- vec ------
                a: 0x0CB4B676, 10000 * 160000 bytes     t: 2940 ms
                a: 0x25BEB273, 10000 * 159999 bytes     t: 2940 ms
                a: 0x733CB174, 10000 * 159998 bytes     t: 2940 ms
                a: 0x1144AF76, 10000 * 159996 bytes     t: 2940 ms
                a: 0x3F4ECB8A, 10000 * 159992 bytes     t: 2940 ms
                a: 0x1902A382, 10000 * 159984 bytes     t: 2940 ms
         speedup: 1.761905

Big thanks go to Edwin Török for his efforts and time he put into
fiddling with the code, debugging and trying patches.

Pushed out to git.
Next stop:
ARM Neon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 06.1-mips.patch
Type: text/x-patch
Size: 8859 bytes
Desc: not available
URL: <http://madler.net/pipermail/zlib-devel_madler.net/attachments/20110501/d8eb8217/attachment.bin>


More information about the Zlib-devel mailing list