[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua VM question
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Thu, 12 May 2005 13:40:29 -0300
> Lots of CPU instruction sets have LOADQ, ADDQ, SUBQ instructions that
> load/add/subtract small constants encoded as part of the instruction
> itself. I was slightly surprised to see that the Lua 5 VM instruction
> set did not have any, but that all constants were fetched from a
> constants pool.
Previous Lua VMs had that. But it was too complicated. --lhf