[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Register VM WIP

From: Mark H Weaver
Subject: Re: Register VM WIP
Date: Wed, 16 May 2012 00:23:36 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)

Noah Lavine <address@hidden> writes:
>>> The register based VMs I've seen ignore this issue by allowing for an
>>> infinite set of registers. :)
>> Indeed, that's the plan :)  The first shot at an allocator will look a
>> lot like the one in (language tree-il analyze).
> That was a bit surprising to me. Do you mean that the register pool
> will grow and shrink for each function call? Is that why the stack
> frames can be fixed-size?

It's surprising to me for another reason: in order to make the
instructions reasonably compact, only a limited number of bits are
available in each instruction to specify which registers to use.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]