Skip to content
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

ALIGN pseudoinstruction does nothing #45

Open
sneves opened this issue Jun 12, 2016 · 0 comments
Open

ALIGN pseudoinstruction does nothing #45

sneves opened this issue Jun 12, 2016 · 0 comments

Comments

@sneves
Copy link
Contributor

sneves commented Jun 12, 2016

PeachPy appears to support the ALIGN directive to align, e.g., loops, but it seems to have no effect on the output.

Since the code generator needs to know the size of instructions, it should have enough information to work out current (relative) offset to the beginning of the function. On the other hand, Functions do not seem to have any kind of alignment, so they can start anywhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant