[Vm-beginners] Steps toward aarch64 Cog [FFI]

ken.dickey at whidbey.com ken.dickey at whidbey.com
Sun Dec 23 21:56:04 UTC 2018


Sorry.

See, if you don't give me VMMaker write access, you won't get a certain
class of dumb mistakes!

Thanks,
-KenD

> ----- 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/8f72881f/attachment.html>


More information about the VM-beginners mailing list