[Vm-beginners] Steps toward aarch64 Cog [FFI]
ken.dickey at whidbey.com
ken.dickey at whidbey.com
Sun Dec 23 22:33:01 UTC 2018
Updated..
> ----- Original Message -----
>
> From: "Eliot Miranda" <eliot.miranda at gmail.com>
>
> To:"Ken.Dickey" <ken.dickey at whidbey.com>
>
> Cc:<vm-beginners at lists.squeakfoundation.org>
>
> Sent:Sun, 23 Dec 2018 11:20:16 -0800
>
> Subject:Re: Steps toward aarch64 Cog [FFI]
>
> Hi Ken,
>
> I have a suggestion. Instead of initializing WordSize from Smalltalk
> wordSize I would create two subclasses with a wordSize method, hardcoded
> as ^4 and ^8 respectively. We want to be able to simulate any of the
> processors on any platform, hence we can simulate x64 on the 32-bit
> version and x86 on the 64-bit version as well as 32-bit processors on
> 32-bit versions and 64-bit processors on 64-bit versions. So structuring
> the ARM FFI as an abstract subclass with a subclass responsibility for
> wordSize, along with two subclasses for 64 & 32 bits will give us that
> flexibility.
>
> Where a wordSize define would make sense would be in
> platforms/Cross/plugins/IA32ABI/*ARM*, although you might want to review
> the code first and see if #ifdef or splitting the files into 32 and
> 64-bit versions is cleaner.
>
> On Sun, Dec 23, 2018 at 8:06 AM <ken.dickey at whidbey.com> wrote:
>
> Rats!
>
> Can't even use this webmail thingie...
>
> [the _other_ changes file]
>
> Cheers,
> -KenD
--
_,,,^..^,,,_
best, Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-beginners/attachments/20181223/85a832c9/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ThreadedARMFFIPlugin.st
Type: application/octet-stream
Size: 19760 bytes
Desc: not available
URL: <http://lists.squeakfoundation.org/pipermail/vm-beginners/attachments/20181223/85a832c9/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ThreadedARM64FFIPlugin.st
Type: application/octet-stream
Size: 1208 bytes
Desc: not available
URL: <http://lists.squeakfoundation.org/pipermail/vm-beginners/attachments/20181223/85a832c9/attachment-0003.obj>
More information about the VM-beginners
mailing list