[M3devel] 64-bit alignment on 32-bit target?
Jay K
jayk123 at hotmail.com
Fri Jan 26 20:09:51 CET 2018
I believe LONGINT should be 64-aligned on 32-bit x86 so for example you can use InterlockedCompareExchange64 on it.
I suggest LONGINT should be 64-aligned so maybe all targets have the same layout, in general.
- Jay
________________________________
From: M3devel <m3devel-bounces at elegosoft.com> on behalf of Rodney M. Bates <rodney_bates at lcwb.coop>
Sent: Friday, January 26, 2018 6:35 PM
To: m3devel
Subject: [M3devel] 64-bit alignment on 32-bit target?
Does anybody know:
Do we support, or does there even exist, a target that has 32-bit native words,
but has some instruction or other reason why some operand would need to be
64-bit aligned?
We appear to be 64-bit aligning LONGINT and big enough subranges thereof on
32-bit targets, which then needs to propagate through records, arrays, and objects
that contain them, as well as all heap allocated objects, stack frames, etc.
--
Rodney Bates
rodney.m.bates at acm.org
_______________________________________________
M3devel mailing list
M3devel at elegosoft.com
https://m3lists.elegosoft.com/mailman/listinfo/m3devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20180126/73e85583/attachment.html>
More information about the M3devel
mailing list