<div dir="ltr"><div dir="ltr">Hi Ken,<div><br></div><div>    I just committed</div><div><br></div><div><div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>Name: VMMaker.oscog-eem.2508</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">   </span>Author: eem</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">    </span>Time: 6 January 2019, 5:37:32.239005 pm</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">        </span>UUID: 0562ff91-dad2-41f0-980e-87e9f5bd7eda</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">     </span>Ancestors: VMMaker.oscog-eem.2507</div><div><br></div><div><span class="gmail-Apple-tab-span" style="white-space:pre">     </span>ThreadedFFIPlugin</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>Provide a ffiCalloutTo:SpecOnStack:in: for ARMv8 that passes all 8 integer register parameters.</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">        </span>Provide an overview of the implementation architecture in the class comment of ThreadedFFIPlugin.</div></div><div><br></div><div>Please LMK of any confusing or erroneous info in the class comment.  Feel free to extend the information, e.g. with pointers to suitable ABI documentation that I realize I could have provided.</div></div></div><br><div class="gmail_quote"><div dir="ltr">On Sun, Jan 6, 2019 at 3:32 PM Ken.Dickey <<a href="mailto:Ken.Dickey@whidbey.com">Ken.Dickey@whidbey.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">On Sun, 6 Jan 2019 14:19:47 -0800<br>
Eliot Miranda <<a href="mailto:eliot.miranda@gmail.com" target="_blank">eliot.miranda@gmail.com</a>> wrote:<br>
<br>
> I have promised to write this up and will do so once I have some time.  But<br>
> I'm curious.  What reference documentation are you using for the v8 ABI?<br>
> Can you post a link please?<br>
<br>
<br>
Procedure Call Standard for the ARM 64-bit Architecture (AArch64)<br>
<br>
  <a href="http://infocenter.arm.com/help/topic/com.arm.doc.ihi0055b/IHI0055B_aapcs64.pdf" rel="noreferrer" target="_blank">http://infocenter.arm.com/help/topic/com.arm.doc.ihi0055b/IHI0055B_aapcs64.pdf</a><br>
<br>
<br>
ARM Architecture Reference Manual: ARMv8, for ARMv8-A architecture profile<br>
<br>
  <a href="https://static.docs.arm.com/ddi0487/da/DDI0487D_a_armv8_arm.pdf" rel="noreferrer" target="_blank">https://static.docs.arm.com/ddi0487/da/DDI0487D_a_armv8_arm.pdf</a><br>
<br>
<br>
Programmer's Guide for ARMv8-A<br>
<br>
  <a href="http://infocenter.arm.com/help/topic/com.arm.doc.den0024a/DEN0024A_v8_architecture_PG.pdf" rel="noreferrer" target="_blank">http://infocenter.arm.com/help/topic/com.arm.doc.den0024a/DEN0024A_v8_architecture_PG.pdf</a><br>
<br>
<br>
AArch64 QuickRef:<br>
<br>
  <a href="https://courses.cs.washington.edu/courses/cse469/18wi/Materials/arm64.pdf" rel="noreferrer" target="_blank">https://courses.cs.washington.edu/courses/cse469/18wi/Materials/arm64.pdf</a><br>
<br>
=======<br>
> > Also FYI, I have been running<br>
> >  [VMMaker generateSqueakSpurStack64VM] valueSupplyingAnswer: false.<br>
> >   VMMaker generateVMPlugins.<br>
> ><br>
> <br>
> For the FFI plugin is is quicker to open a VMMakerTool, set up its fields<br>
> correctly, drag the relevant plugin from the left-hand list to the<br>
> right-hand list and use "generate plugin" from the menu in the right-hand<br>
> list.  This is at the end of the Source Generation  Workspace:<br>
<br>
Thanks.   Will try this.<br>
<br>
-- <br>
-KenD<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><span style="font-size:small;border-collapse:separate"><div>_,,,^..^,,,_<br></div><div>best, Eliot</div></span></div></div></div>