Updates to 32-bit codegen #481
No reviewers
Labels
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: M-Labs/nac3#481
Loading…
Reference in New Issue
No description provided.
Delete Branch "fix/32bit-codegen-issues"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Addresses remaining comments for #477.
These changes from #477 would need to be reverted as well
Thought the compiler had to be changed as well?
Or does it work right now just because x86 is little endian?
9d64b2ea7d
to318a675ea6
Done.
I quickly figured that while some parts of the compiler (e.g.
range
) is defined using 32-bit ints instead ofsize_t
,list
andstr
has usedsize_t
since forever. I think they continue to work when I (erroneously) switched touint32_t
because the upper 32 bits are unused and is zeroed.Half that memory may be uninitialized and also this will break on any big-endian architecture (not that there are many left out there).