[Zlib-devel] [7/8][RFC V3 Patch] Blackfin implementation

Jan Seiffert kaffeemonster at googlemail.com
Sun Apr 24 12:44:59 EDT 2011


And here a version for the Analog Devices Blackfin CPU, which is a mix
between General Purpose CPU and DSP with a little SIMD.

Again a big thanks to Mike Frysinger for testing grounds.

I'm a little bit unhappy with the performance, but ENOREGISTER.
The numbers:
An Blackfin BF537 at 500MHz
        -------- orig ------
               a: 0x0CB4B676, 10000 * 160000 bytes     t: 19200 ms
               a: 0x25BEB273, 10000 * 159999 bytes     t: 19200 ms
               a: 0x733CB174, 10000 * 159998 bytes     t: 19200 ms
               a: 0x1144AF76, 10000 * 159996 bytes     t: 19190 ms
               a: 0x3F4ECB8A, 10000 * 159992 bytes     t: 24150 ms
               a: 0x1902A382, 10000 * 159984 bytes     t: 24160 ms
        -------- vec ------
               a: 0x0CB4B676, 10000 * 160000 bytes     t: 10690 ms
               a: 0x25BEB273, 10000 * 159999 bytes     t: 10690 ms
               a: 0x733CB174, 10000 * 159998 bytes     t: 10700 ms
               a: 0x1144AF76, 10000 * 159996 bytes     t: 10680 ms
               a: 0x3F4ECB8A, 10000 * 159992 bytes     t: 10690 ms
               a: 0x1902A382, 10000 * 159984 bytes     t: 10670 ms
        speedup: 1.796071

Putting vorder_o/e into different L1 brings that to 1.84, but since
that eats a precious resource for little gain, i left it out.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 07-bfin.patch
Type: text/x-patch
Size: 8257 bytes
Desc: not available
URL: <http://madler.net/pipermail/zlib-devel_madler.net/attachments/20110424/7df84089/attachment.bin>


More information about the Zlib-devel mailing list