diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-10-28 07:22:42 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-10-28 07:22:42 +0000 |
commit | 959f7df23aaf172105d41c7d5d7993ad7da66395 (patch) | |
tree | c373d46aa90c01bc6e002a8b1afe781e4f97b8e1 /cpukit/zlib/contrib/asm686/README.686 | |
parent | Import from zlib-1.2.4 (diff) | |
download | rtems-959f7df23aaf172105d41c7d5d7993ad7da66395.tar.bz2 |
Import of zlib-1.2.2.2.tar.gz
Diffstat (limited to 'cpukit/zlib/contrib/asm686/README.686')
-rw-r--r-- | cpukit/zlib/contrib/asm686/README.686 | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/cpukit/zlib/contrib/asm686/README.686 b/cpukit/zlib/contrib/asm686/README.686 new file mode 100644 index 0000000000..a593f23afd --- /dev/null +++ b/cpukit/zlib/contrib/asm686/README.686 @@ -0,0 +1,34 @@ +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 |