Sha256: 5116173a916e86701da590128938bccbb650dd96e9fa363fefba286a503439dc

Contents?: true

Size: 1.06 KB

Versions: 6

Compression:

Stored size: 1.06 KB

Contents

This is a patched version of zlib, modified to use
Pentium-Pro-optimized assembly code in the deflation algorithm. The
files changed/added by this patch are:

README.686
match.S

The speedup that this patch provides varies, depending on whether the
compiler used to build the original version of zlib falls afoul of the
PPro's speed traps. My own tests show a speedup of around 10-20% at
the default compression level, and 20-30% using -9, against a version
compiled using gcc 2.7.2.3. Your mileage may vary.

Note that this code has been tailored for the PPro/PII in particular,
and will not perform particuarly well on a Pentium.

If you are using an assembler other than GNU as, you will have to
translate match.S to use your assembler's syntax. (Have fun.)

Brian Raiter
breadbox@muppetlabs.com
April, 1998


Added for zlib 1.1.3:

The patches come from
http://www.muppetlabs.com/~breadbox/software/assembly.html

To compile zlib with this asm file, copy match.S to the zlib directory
then do:

CFLAGS="-O3 -DASMV" ./configure
make OBJA=match.o

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
gosu-0.7.16 dependencies/zlib/contrib/asm686/README.686
gosu-0.7.11 windows/zlib, libpng/zlib/contrib/asm686/README.686
gosu-0.7.12 windows/zlib, libpng/zlib/contrib/asm686/README.686
gosu-0.7.13.2 windows/zlib, libpng/zlib/contrib/asm686/README.686
gosu-0.7.13.3 windows/zlib, libpng/zlib/contrib/asm686/README.686
gosu-0.7.13 windows/zlib, libpng/zlib/contrib/asm686/README.686