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