-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stack alignment #40
Comments
As a side note, we should probably be using the |
Stack's. The less complexity in per-platform code, the better; and 16 bytes is at the moment the highest common alignment. This should be documented as Stack's contract. |
Using it where exactly and why?
|
Some platforms have requirements regarding stack alignment on function entry (16 bytes for x86, x86_64 and aarch64, 8 bytes for arm). Should it be the
Stack
's responsibility to ensure alignment or should the context initialization perform a suitable alignment (by aligning the address returned byStack::base
)?The text was updated successfully, but these errors were encountered: