[m-dev.] question about 32 bit machines

Peter Wang novalazy at gmail.com
Wed Mar 14 11:39:52 AEDT 2018


On Wed, 14 Mar 2018 10:56:35 +1100, Peter Wang <novalazy at gmail.com> wrote:
> I think approach 3 is fine. Once (if) we have argument reordering
> we can make all 64 bit entities aligned to 64 bit boundaries
> (unless there is some constraint that I'm not aware of).

Oh yeah, in memory profiling grades we allocate an extra word before the
object for the allocation id, so the start of the object would not be 64
bit aligned. We would need to allocate an extra two words, or find
another solution.

The old (now useless?) term size profiling stuff used the same trick.
In handle_options.m we disable double-word fields in term size profiling
grades, but curiously not in memory profiling grades. I'll check it when
I get a chance.

Peter


More information about the developers mailing list