[Zlib-devel] Re: AMD64 and inffas86.c
Gilles Vollant
info at winimage.com
Sat Nov 13 20:20:30 EST 2004
I've just a question :
My application made several push at begin and pop at end.
see http://weblogs.asp.net/oldnewthing/archive/2004/01/14/58579.aspx
"All registers must be preserved across the call, except for rax, rcx, rdx,
r8, r9, r10, and r11, which are scratch."
Pehaps this is not the faster way to save register
-----Original Message-----
From: Gilles Vollant [mailto:info at winimage.com]
Sent: Monday, November 08, 2004 4:06 AM
To: zlib-devel at zlib.net
Subject: RE: [Zlib-devel] Re: AMD64 and inffas86.c
I made a version with ml64 and tested it with visual studio 2005 beta for
amd64
http://gvollant.free.fr/inffasx64.zip
-----Original Message-----
From: Chris Anderson [mailto:christop at charm.net]
Sent: Monday, November 01, 2004 1:24 PM
To: Gilles Vollant
Cc: zlib-devel at zlib.net
Subject: [Zlib-devel] Re: AMD64 and inffas86.c
On Mon, 2004-11-01 at 03:29, Gilles Vollant wrote:
> I see in changelog of 1.2.2.1
>
> Add support for AMD64 in contrib/inflate86/inffas86.c [Anderson]
>
> But reading inffas86.c, it seem that AMD64 is only for GNUC.
> I've an AMD64 running Windows XP64 bits and a beta of Visual studio
> 2005, so I can help testing assembly version for AMD64 for Microsoft
compiler.
I used this script to convert from gcc to msvc in inffas86.c. First I
clipped out the lines in __asm__ __volatile__ (lines 463 to 783), then ran
gcc2masm.pl < lines463-783.txt > masm.out. I believe that converts most or
all of the 32 bit instructions but doesn't do the 64 bit ones.
I'll look at that tomorrow morning...
Chris
More information about the Zlib-devel
mailing list