<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">I believe LONGINT should be 64-aligned on 32-bit x86 so for example you can use InterlockedCompareExchange64 on it.</p>
<p style="margin-top:0;margin-bottom:0">I suggest LONGINT should be 64-aligned so maybe all targets have the same layout, in general.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0"> - Jay<br>
</p>
<div id="Signature"><br>
</div>
<br>
<div style="color: rgb(0, 0, 0);">
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>From:</b> M3devel <m3devel-bounces@elegosoft.com> on behalf of Rodney M. Bates <rodney_bates@lcwb.coop><br>
<b>Sent:</b> Friday, January 26, 2018 6:35 PM<br>
<b>To:</b> m3devel<br>
<b>Subject:</b> [M3devel] 64-bit alignment on 32-bit target?</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Does anybody know:<br>
<br>
Do we support, or does there even exist, a target that has 32-bit native words,<br>
but has some instruction or other reason why some operand would need to be<br>
64-bit aligned?<br>
<br>
We appear to be 64-bit aligning LONGINT and big enough subranges thereof on<br>
32-bit targets, which then needs to propagate through records, arrays, and objects<br>
that contain them, as well as all heap allocated objects, stack frames, etc.<br>
<br>
-- <br>
Rodney Bates<br>
rodney.m.bates@acm.org<br>
_______________________________________________<br>
M3devel mailing list<br>
M3devel@elegosoft.com<br>
<a href="https://m3lists.elegosoft.com/mailman/listinfo/m3devel" id="LPlnk909351" previewremoved="true">https://m3lists.elegosoft.com/mailman/listinfo/m3devel</a><br>
</div>
</span></font></div>
</div>
</div>
</body>
</html>