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

Unaligned access #6

Open
ghost opened this issue Mar 16, 2018 · 1 comment
Open

Unaligned access #6

ghost opened this issue Mar 16, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented Mar 16, 2018

The CAST macro is used to generate unaligned accesses. This breaks compatibility on architectures which don't support unaligned access, like ARM.

I'm looking into this issue and it seems that I would have to rewrite the CAST macro to be an inline function that uses byte loads.

@brouhaha
Copy link

brouhaha commented Jun 8, 2020

I use unaligned access on ARM all the time. I guess it depends on which ARM, as there are many slightly different ARM architectures.

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