You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
This is a patched version of zlib, modified to usePentium-Pro-optimized assembly code in the deflation algorithm. Thefiles changed/added by this patch are:
README.686match.S
The speedup that this patch provides varies, depending on whether thecompiler used to build the original version of zlib falls afoul of thePPro's speed traps. My own tests show a speedup of around 10-20% atthe default compression level, and 20-30% using -9, against a versioncompiled 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 totranslate match.S to use your assembler's syntax. (Have fun.)
Brian Raiterbreadbox@muppetlabs.comApril, 1998
Added for zlib 1.1.3:
The patches come fromhttp://www.muppetlabs.com/~breadbox/software/assembly.html
To compile zlib with this asm file, copy match.S to the zlib directorythen do:
CFLAGS="-O3 -DASMV" ./configuremake OBJA=match.o
|