develooper Front page | perl.perl6.internals | Postings from October 2001

Re: Sizes, again.

Thread Previous | Thread Next
From:
Bryan C . Warnock
Date:
October 1, 2001 20:42
Subject:
Re: Sizes, again.
Message ID:
0110012341170H.01145@wakko.idiocity.nut
On Monday 01 October 2001 07:16 pm, Dan Sugalski wrote:
> >Well, we recently went to all the trouble to decouple opcodes from IVs -
> > I assume for a reason.  Do we want to undo that, or move them into the
> > constant table?
>
> Nope.

To one, the other, or both?

>
> >If you re-couple the sizes, then you're pretty much committing to 64-bit
> >opcodes, since you'll invariably want 64-bit IVs on platforms that
> > support it.
>
> We guarantee integer constants that are no bigger than 32 bits can be
> embedded in the opcode stream. Since opcode_t is at least 32 bits this is
> OK.

Inlined as what type?  (And I assume, then, that you'll allow mix and match, 
where integers are either inlined or in the constant table, depending on 
their size - your explanation of "nope" pending, of course.)


-- 
Bryan C. Warnock
bwarnock@capita.com

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About