Blame thirdparty/zlib-1.2.8/contrib/masmx64/readme.txt
|
kusano |
fc6ab3 |
Summary
|
|
kusano |
fc6ab3 |
-------
|
|
kusano |
fc6ab3 |
This directory contains ASM implementations of the functions
|
|
kusano |
fc6ab3 |
longest_match() and inflate_fast(), for 64 bits x86 (both AMD64 and Intel EM64t),
|
|
kusano |
fc6ab3 |
for use with Microsoft Macro Assembler (x64) for AMD64 and Microsoft C++ 64 bits.
|
|
kusano |
fc6ab3 |
|
|
kusano |
fc6ab3 |
gvmat64.asm is written by Gilles Vollant (2005), by using Brian Raiter 686/32 bits
|
|
kusano |
fc6ab3 |
assembly optimized version from Jean-loup Gailly original longest_match function
|
|
kusano |
fc6ab3 |
|
|
kusano |
fc6ab3 |
inffasx64.asm and inffas8664.c were written by Chris Anderson, by optimizing
|
|
kusano |
fc6ab3 |
original function from Mark Adler
|
|
kusano |
fc6ab3 |
|
|
kusano |
fc6ab3 |
Use instructions
|
|
kusano |
fc6ab3 |
----------------
|
|
kusano |
fc6ab3 |
Assemble the .asm files using MASM and put the object files into the zlib source
|
|
kusano |
fc6ab3 |
directory. You can also get object files here:
|
|
kusano |
fc6ab3 |
|
|
kusano |
fc6ab3 |
http://www.winimage.com/zLibDll/zlib124_masm_obj.zip
|
|
kusano |
fc6ab3 |
|
|
kusano |
fc6ab3 |
define ASMV and ASMINF in your project. Include inffas8664.c in your source tree,
|
|
kusano |
fc6ab3 |
and inffasx64.obj and gvmat64.obj as object to link.
|
|
kusano |
fc6ab3 |
|
|
kusano |
fc6ab3 |
|
|
kusano |
fc6ab3 |
Build instructions
|
|
kusano |
fc6ab3 |
------------------
|
|
kusano |
fc6ab3 |
run bld_64.bat with Microsoft Macro Assembler (x64) for AMD64 (ml64.exe)
|
|
kusano |
fc6ab3 |
|
|
kusano |
fc6ab3 |
ml64.exe is given with Visual Studio 2005, Windows 2003 server DDK
|
|
kusano |
fc6ab3 |
|
|
kusano |
fc6ab3 |
You can get Windows 2003 server DDK with ml64 and cl for AMD64 from
|
|
kusano |
fc6ab3 |
http://www.microsoft.com/whdc/devtools/ddk/default.mspx for low price)
|