1*44bedb31SLionel SambucThis is a patched version of zlib, modified to use 2*44bedb31SLionel SambucPentium-Pro-optimized assembly code in the deflation algorithm. The 3*44bedb31SLionel Sambucfiles changed/added by this patch are: 4*44bedb31SLionel Sambuc 5*44bedb31SLionel SambucREADME.686 6*44bedb31SLionel Sambucmatch.S 7*44bedb31SLionel Sambuc 8*44bedb31SLionel SambucThe speedup that this patch provides varies, depending on whether the 9*44bedb31SLionel Sambuccompiler used to build the original version of zlib falls afoul of the 10*44bedb31SLionel SambucPPro's speed traps. My own tests show a speedup of around 10-20% at 11*44bedb31SLionel Sambucthe default compression level, and 20-30% using -9, against a version 12*44bedb31SLionel Sambuccompiled using gcc 2.7.2.3. Your mileage may vary. 13*44bedb31SLionel Sambuc 14*44bedb31SLionel SambucNote that this code has been tailored for the PPro/PII in particular, 15*44bedb31SLionel Sambucand will not perform particuarly well on a Pentium. 16*44bedb31SLionel Sambuc 17*44bedb31SLionel SambucIf you are using an assembler other than GNU as, you will have to 18*44bedb31SLionel Sambuctranslate match.S to use your assembler's syntax. (Have fun.) 19*44bedb31SLionel Sambuc 20*44bedb31SLionel SambucBrian Raiter 21*44bedb31SLionel Sambucbreadbox@muppetlabs.com 22*44bedb31SLionel SambucApril, 1998 23*44bedb31SLionel Sambuc 24*44bedb31SLionel Sambuc 25*44bedb31SLionel SambucAdded for zlib 1.1.3: 26*44bedb31SLionel Sambuc 27*44bedb31SLionel SambucThe patches come from 28*44bedb31SLionel Sambuchttp://www.muppetlabs.com/~breadbox/software/assembly.html 29*44bedb31SLionel Sambuc 30*44bedb31SLionel SambucTo compile zlib with this asm file, copy match.S to the zlib directory 31*44bedb31SLionel Sambucthen do: 32*44bedb31SLionel Sambuc 33*44bedb31SLionel SambucCFLAGS="-O3 -DASMV" ./configure 34*44bedb31SLionel Sambucmake OBJA=match.o 35