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

Validator doesn't properly ensure alignment of memory accesses #383

Open
bchurchill opened this issue Dec 29, 2014 · 4 comments
Open

Validator doesn't properly ensure alignment of memory accesses #383

bchurchill opened this issue Dec 29, 2014 · 4 comments

Comments

@bchurchill
Copy link
Member

There are a bunch of rules in section 14.9 of the Intel manual I never paid attention to, and so sometime I need to fix this.

@bchurchill
Copy link
Member Author

This will never possibly get fixed unless we have a way of fuzz testing this against the hardware... but that will basically require testing the hardware to see if it segfaults and catching the signals. Ugh.

@sharmar
Copy link

sharmar commented Aug 31, 2015

Does not the spreadsheet have alignment restrictions?

@bchurchill
Copy link
Member Author

Nope. The actual situation is pretty complicated. There's a section in the manual that addresses this, but it's not what we've implemented. I think even the sandbox has a bug or two here, perhaps over-reporting segfaults (whereas the validator under-reports). This is something I should be able to fix, but it's not relevant for the current paper since we aren't doing anything with xmm/ymm registers (nothing needs to be aligned, I think).

@bchurchill bchurchill added medium and removed high labels Aug 31, 2015
@bchurchill
Copy link
Member Author

Note this only applies to SSE/AVX instructions.

@bchurchill bchurchill removed their assignment Jan 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants