[Sablevm-developer] Bug#245834: Missing amd64 support.
Brought to you by:
egagnon
From: Grzegorz B. P. <ga...@de...> - 2004-05-02 01:38:10
|
On (02/05/04 00:19), Andreas Jochens wrote: > tags 245834 + patch > > On 04-Apr-25 19:42, Kurt Roeckx wrote: > > It currently doesn't seem to have support for amd64. Adding > > support for it seems mostly adding || defined(__x86_64__) where > > __i386__ is used, except for system.h where the word/allignment > > needs to be chagned from 32bit/4byte to 64bit/8byte. > > > > I just don't know enough assembler/hardware details for the > > things in system.c > > The attached patch seems to work for me. > Thanks. Just one thing: are we talking about x86-64 in 64bit mode? If yes, then did you have any other problems w/ porting? If no, then what would be needed to make the 64bit port? ex. is there libffi for x86-64 in 64bit mode? GBP PS: And how do I distinguish between x86-64 in 32 and 64bit mode from within C program source? -- Grzegorz B. Prokopski <ga...@de...> Debian GNU/Linux http://www.debian.org SableVM - LGPLed JVM http://www.sablevm.org Why SableVM ?!? http://devel.sablevm.org/wiki/WhySableVM |