1 1.1 christos Summary 2 1.1 christos ------- 3 1.1 christos This directory contains ASM implementations of the functions 4 1.1 christos longest_match() and inflate_fast(), for 64 bits x86 (both AMD64 and Intel EM64t), 5 1.1 christos for use with Microsoft Macro Assembler (x64) for AMD64 and Microsoft C++ 64 bits. 6 1.1 christos 7 1.1 christos gvmat64.asm is written by Gilles Vollant (2005), by using Brian Raiter 686/32 bits 8 1.1 christos assembly optimized version from Jean-loup Gailly original longest_match function 9 1.1 christos 10 1.1 christos inffasx64.asm and inffas8664.c were written by Chris Anderson, by optimizing 11 1.1 christos original function from Mark Adler 12 1.1 christos 13 1.1 christos Use instructions 14 1.1 christos ---------------- 15 1.1 christos Assemble the .asm files using MASM and put the object files into the zlib source 16 1.1 christos directory. You can also get object files here: 17 1.1 christos 18 1.1 christos http://www.winimage.com/zLibDll/zlib124_masm_obj.zip 19 1.1 christos 20 1.1 christos define ASMV and ASMINF in your project. Include inffas8664.c in your source tree, 21 1.1 christos and inffasx64.obj and gvmat64.obj as object to link. 22 1.1 christos 23 1.1 christos 24 1.1 christos Build instructions 25 1.1 christos ------------------ 26 1.1 christos run bld_64.bat with Microsoft Macro Assembler (x64) for AMD64 (ml64.exe) 27 1.1 christos 28 1.1 christos ml64.exe is given with Visual Studio 2005, Windows 2003 server DDK 29 1.1 christos 30 1.1 christos You can get Windows 2003 server DDK with ml64 and cl for AMD64 from 31 1.1 christos http://www.microsoft.com/whdc/devtools/ddk/default.mspx for low price) 32