<div dir="ltr">Hi David, Hi All,<div><br></div><div><br></div><div> I need to make some changes to platforms/Cross/plugins, which is shared between the trunk vm and the Cog branch.</div><div><br></div><div>1. DOUBLE_WORD_ALIGNMENT changes to OBJECTS_32BIT_ALIGNED. In Spur objects are always 64-bit aligned, even in the 32-bit version, so none of the slow access to avoid unaligned float access is necessary. I've written it like this in platforms/Cross/vm/sqMemoryAccess.h. The changes begin on the #if (SQ_IMAGE64 || SPURVM) line</div><div><br></div><div><div>#if (SQ_VI_BYTES_PER_WORD == 4)</div><div># define SQ_IMAGE32 1</div><div>#else</div><div># define SQ_IMAGE64 1</div><div>#endif</div><div><br></div><div>#if (SQ_IMAGE64 || SPURVM)</div><div># define OBJECTS_32BIT_ALIGNED 0</div><div>#else</div><div># define OBJECTS_32BIT_ALIGNED 1</div><div>#endif</div><div><br></div><div>2. platforms/Cross/plugins/RePlugin/config.h gets renamed to platforms/Cross/plugins/RePlugin/reconfig.h to avoid conflicts with the VM's config.h</div><div><br></div><div>I'm not sure that I have permission to change trunk. But if I do would it be OK if I made these changes? If not, would you, David, make the change to trunk's platforms/Cross/vm/sqMemoryAccess.h after which I'll check-in the platforms/Cross/plugins changes?<br>--</div><div class="gmail_signature">best,<div>Eliot</div></div>
</div></div>