1
This is a patched version of zlib, modified to use
2
Pentium-Pro-optimized assembly code in the deflation algorithm. The
3
files changed/added by this patch are:
8
The speedup that this patch provides varies, depending on whether the
9
compiler used to build the original version of zlib falls afoul of the
10
PPro's speed traps. My own tests show a speedup of around 10-20% at
11
the default compression level, and 20-30% using -9, against a version
12
compiled using gcc 2.7.2.3. Your mileage may vary.
14
Note that this code has been tailored for the PPro/PII in particular,
15
and will not perform particuarly well on a Pentium.
17
If you are using an assembler other than GNU as, you will have to
18
translate match.S to use your assembler's syntax. (Have fun.)
21
breadbox@muppetlabs.com
28
http://www.muppetlabs.com/~breadbox/software/assembly.html
30
To compile zlib with this asm file, copy match.S to the zlib directory
33
CFLAGS="-O3 -DASMV" ./configure