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