~ubuntu-branches/ubuntu/natty/ntop/natty

« back to all changes in this revision

Viewing changes to gdchart0.94c/zlib-1.1.3/contrib/asm686/README.686

  • Committer: Bazaar Package Importer
  • Author(s): Ola Lundqvist
  • Date: 2005-01-30 21:59:13 UTC
  • mfrom: (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20050130215913-xc3ke963bw49b3k4
Tags: 2:3.0-5
* Updated README.Debian file so users will understand what to do at
  install, closes: #291794, #287802.
* Updated ntop init script to give better output.
* Also changed log directory from /var/lib/ntop to /var/log/ntop,
  closes: #252352.
* Quoted the interface list to allow whitespace, closes: #267248.
* Added a couple of logcheck ignores, closes: #269321, #269319.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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:
4
 
 
5
 
README.686
6
 
match.S
7
 
 
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.
13
 
 
14
 
Note that this code has been tailored for the PPro/PII in particular,
15
 
and will not perform particuarly well on a Pentium.
16
 
 
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.)
19
 
 
20
 
Brian Raiter
21
 
breadbox@muppetlabs.com
22
 
April, 1998
23
 
 
24
 
 
25
 
Added for zlib 1.1.3:
26
 
 
27
 
The patches come from
28
 
http://www.muppetlabs.com/~breadbox/software/assembly.html
29
 
 
30
 
To compile zlib with this asm file, copy match.S to the zlib directory
31
 
then do:
32
 
 
33
 
CFLAGS="-O3 -DASMV" ./configure
34
 
make OBJA=match.o