From 6759211ad8a5006689216a86c3267bb503bfccc1 Mon Sep 17 00:00:00 2001 From: Mark Adler Date: Fri, 9 Sep 2011 23:18:57 -0700 Subject: zlib 1.0.8 --- contrib/README.contrib | 3 +-- contrib/asm386/gvmat32.asm | 25 +++++++++++++------------ 2 files changed, 14 insertions(+), 14 deletions(-) (limited to 'contrib') diff --git a/contrib/README.contrib b/contrib/README.contrib index 87eb1e3..443eb6b 100644 --- a/contrib/README.contrib +++ b/contrib/README.contrib @@ -5,8 +5,7 @@ for help about these, not the zlib authors. Thanks. asm386/ by Gilles Vollant - 386 asm code replacing longest_match(). This code may be slower - than the C code if you have a good compiler. + 386 asm code replacing longest_match(), for Visual C++ 4.2 and ML 6.11c iostream/ by Kevin Ruland A C++ I/O streams interface to the zlib gz* functions diff --git a/contrib/asm386/gvmat32.asm b/contrib/asm386/gvmat32.asm index b175871..2918a5d 100644 --- a/contrib/asm386/gvmat32.asm +++ b/contrib/asm386/gvmat32.asm @@ -53,17 +53,19 @@ @lmtype TYPEDEF PROTO C :PTR , :SDWORD longest_match_c PROTO @lmtype - dep_max_chain_length equ 70h - dep_window equ 2ch - dep_strstart equ 60h - dep_prev_length equ 6ch - dep_nice_match equ 84h - dep_w_size equ 20h - dep_prev equ 34h - dep_w_mask equ 28h - dep_good_match equ 80h - dep_match_start equ 64h - dep_lookahead equ 68h + ; all the +4 offsets are due to the addition of pending_buf_size + ; in the deflate_state structure since the asm code was first written + dep_chain_length equ 70h+4 + dep_window equ 2ch+4 + dep_strstart equ 60h+4 + dep_prev_length equ 6ch+4 + dep_nice_match equ 84h+4 + dep_w_size equ 20h+4 + dep_prev equ 34h+4 + dep_w_mask equ 28h+4 + dep_good_match equ 80h+4 + dep_match_start equ 64h+4 + dep_lookahead equ 68h+4 _TEXT segment @@ -461,4 +463,3 @@ _longest_match_asm7fff endp _TEXT ends end - \ No newline at end of file -- cgit v1.2.3-55-g6feb