[Vm-dev] 64 bits
bert at freudenbergs.de
Fri May 4 14:44:49 UTC 2012
On 04.05.2012, at 16:33, David T. Lewis wrote:
> On Fri, May 04, 2012 at 02:36:28PM +0200, Bert Freudenberg wrote:
>> The OP's question was about a Cog VM compiled for x86_64 - is that easily available?
>> - Bert -
> No, that would be a larger project. Eliot could speak to this better
> than I can, but in general terms I expect that this would involve first
> building a 64-bit StackVM (i.e. the current StackVM compiled in 64-bit
> mode), and then developing the code generation for Cog. Both of these
> would involve work above and beyond what I described above for the
> interpreter VM. My assumption would be that these are large enough
> chunks of work that we should not expect them to happen on a strictly
> volunteer basis.
I thought that x86-64 was a strict extension of the 32 bit x86 model. So Cog's generated 32 bit code should work just fine even under x86-64.
Cog would have to be cleaned up for pointer operations of course, just as you did for the interpreter.
- Bert -
More information about the Vm-dev