On Mon, 18 Nov 2002, Iacob Alin wrote:

> > Hmm... I guess I can only quote the ECMA spec here ...
> > conv.i1 Convert to int8, pushing int32 on stack
> > conv.i2 Convert to int16, pushing int32 on stack
[etc.]

> This might be a stupid question, but are this datatypes going to be PMCs?

It's a very good question, actually.  The answer is probably something
like "ones that can be easily emulated with native types will probably not
need to be PMCs; the others probably will."

Two examples:

1.  If your INTVAL is only 32 bits, then handling 64-bit ints will
probably have to be done with a PMC.

2.  If your short, int, and long are all 64 bits, then handling the int16
and int32 types might have to be done with PMCs (depending on the precise
requirements for those types, which I don't know.)

-- 
    Andy Dougherty              [EMAIL PROTECTED]

Reply via email to