[Vm-dev] About 32bits LargeInt plugin [was how the h**l do I generate a signed shift?]

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Mon Jun 30 23:45:32 UTC 2014


2014-07-01 0:40 GMT+02:00 Eliot Miranda <eliot.miranda at gmail.com>:

>
> Hi Nicolas,
>
>
> Hi Eliot,
>> look how I did it in the 32bits LargInt variant:
>>
>
> if the 32-bit large int version passes all the tests why hasn't it
> replaced the byte one?
>
>
>
Yes, 32bits large int pass all tests.
I use such modified VM exclusively.
All the code is maintained at
http://smalltalkhub.com/#!/~nice/NiceVMExperiments for classical VM and Cog.
I have not tested anything on Spur yet, but do not expect major problem.

It works well as is, but I'd like some improvments:
- Prevent byte-wise copy to be used in BigEndian processor
- Provide accelerated primitives for byteAt: byteAt:put: operations (I
don't remember how I implemented them currently, it's too long ago)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20140701/b0a5f887/attachment.htm


More information about the Vm-dev mailing list