--- ../zlib-1.2.3-orig/contrib/masmx64/readme.txt Sun Feb 06 06:39:10 2005 +++ contrib/masmx64/readme.txt Wed May 03 17:50:13 2006 @@ -12,15 +12,13 @@ Use instructions ---------------- -Copy these files into the zlib source directory. +Copy these files into the zlib source directory, then run the +appropriate makefile, as suggested below, in the x64 build environment. -define ASMV and ASMINF in your project. Include inffas8664.c in your source tree, -and inffasx64.obj and gvmat64.obj as object to link. - Build instructions ------------------ -run bld_64.bat with Microsoft Macro Assembler (x64) for AMD64 (ml64.exe) +nmake -f win32/makefile.msc AS=ml64 LOC="-DASMV -DASMINF" OBJA="inffasx64.obj inffas8664.obj gvmat64.obj" ml64.exe is given with Visual Studio 2005, Windows 2003 server DDK --- ../zlib-1.2.3-orig/contrib/masmx86/inffas32.asm Sun Feb 06 05:45:00 2005 +++ contrib/masmx86/inffas32.asm Wed May 03 15:18:38 2006 @@ -644,9 +644,9 @@ movd mm0,ebp mov ebp,ebx ; 896 "inffast.S" - movd mm4,[esp+0] + movd mm4,dword ptr [esp+0] movq mm3,mm4 - movd mm5,[esp+4] + movd mm5,dword ptr [esp+4] movq mm2,mm5 pxor mm1,mm1 mov ebx, [esp+8] @@ -660,7 +660,7 @@ ja L_get_length_code_mmx movd mm6,ebp - movd mm7,[esi] + movd mm7,dword ptr [esi] add esi,4 psllq mm7,mm6 add ebp,32 @@ -717,7 +717,7 @@ ja L_get_dist_code_mmx movd mm6,ebp - movd mm7,[esi] + movd mm7,dword ptr [esi] add esi,4 psllq mm7,mm6 add ebp,32