<html><body style="font-family: Helvetica,Arial,sans-serif; font-size: 12px;">Updated..<br><br><br><blockquote><br>----- Original Message -----<br><div id="origionalMessageFromField" style="width:100%;background:rgb(228,228,228);"><div style="font-weight:bold;">From:</div> "Eliot Miranda" <eliot.miranda@gmail.com></div><br><div id="origionalMessageToField" style="font-weight:bold;">To:</div>"Ken.Dickey" <ken.dickey@whidbey.com><br><div id="origionalMessageSentField" style="font-weight:bold;">Cc:</div><vm-beginners@lists.squeakfoundation.org><br><div style="font-weight:bold;">Sent:</div>Sun, 23 Dec 2018 11:20:16 -0800<br><div id="origionalMessageSubjectField" style="font-weight:bold;">Subject:</div>Re: Steps toward aarch64 Cog [FFI]<br><br><br>
<div dir="ltr"><div dir="ltr">Hi Ken,<div><br></div><div>    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.</div><div><br></div><div>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.</div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Sun, Dec 23, 2018 at 8:06 AM <<a href="mailto:ken.dickey@whidbey.com">ken.dickey@whidbey.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px .8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex;"><div style="font-family:Helvetica, Arial, sans-serif;font-size:12px;"><blockquote><div>Rats!  </div><div><br></div><div>Can't even use this webmail thingie...</div><div><br></div><div>[the _other_ changes file]</div><div><br></div><div>Cheers,</div><div>-KenD</div></blockquote></div>
</blockquote></div><br style="clear:both;"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><span style="font-size:small;border-collapse:separate;"></span><div>_,,,^..^,,,_<br></div><div>best, Eliot</div></div></div></div>

</blockquote></body></html>