[Zlib-devel] Re: AMD64 and inffas86.c
Chris Anderson
christop at charm.net
Mon Nov 1 07:24:15 EST 2004
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc2masm.pl
Type: application/x-perl
Size: 2200 bytes
Desc: not available
URL: <http://madler.net/pipermail/zlib-devel_madler.net/attachments/20041101/0d660727/attachment.pl>
More information about the Zlib-devel
mailing list