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

Modelling of alignement constraints is too strict #496

Closed
vbgl opened this issue Jul 11, 2023 · 1 comment
Closed

Modelling of alignement constraints is too strict #496

vbgl opened this issue Jul 11, 2023 · 1 comment
Labels

Comments

@vbgl
Copy link
Member

vbgl commented Jul 11, 2023

The current memory model used for defining semantics Jasmin and assembly languages mandates that any access of size N is done at an address multiple of N.

This is a good property to ensure: the compiler only emits aligned accesses (supposedly good for performances, sometimes required by the ISA).

But it is a too strong property to require, in particular from user code. It also seems to prevent loading arguments from the stack.

@vbgl vbgl added the TODO label Jul 11, 2023
@vbgl
Copy link
Member Author

vbgl commented Apr 9, 2024

Done in #748

@vbgl vbgl closed this as completed Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant