-
Notifications
You must be signed in to change notification settings - Fork 451
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
Clarify alignment "hint" being in "base 2 logarithmic representation"? #960
Comments
@rossberg, is it your expectation that #966 addresses this? |
Ah, yes. That hasn't landed yet, because I somehow forgot about it. Applied the suggestion last discussed on the issue, if somebody can approve I'll land and we can close this. |
The new wording is absolutely better. I still think that at first reading I might parse it as both offset and alignment are exponents of powers of 2. I agree that the singular "power" disambiguates it, but that's easy to miss/gloss over. Even clearer might be something like
But I'm not sure, and if you think the above becomes a bit too wordy, I'm happy with the new wording. |
Closed via #966. |
I want to share a point of confusion that arose when I was reading the spec, and suggest how it could be alleviated. I got stuck for quite some time on this paragraph.
In file:
spec/document/core/syntax/instructions.rst
The text on memory instructions says:
Reading this, I was confused on 3 accounts:
offset
andalignment
would both be in logarithmic representation.Maybe this could be alleviated by some rewording, though I don't have a suggestion.
However, what cleared it up for me was the note at the bottom of page 66:
Perhaps this note, or a similar one, could be included adjacent to the introduction of
memarg
?The text was updated successfully, but these errors were encountered: