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 float/double on arm #3515
Comments
To be expected, isn't it? |
Do you think it is not bug? |
I know, arm is not supported read floating from unaligned memory, but compiler can do it, just change assembler code for this operation. As you can see, we can read unaligned ulong, and then compiler could translate it into float. |
@Ewa-D This is a user error. You are forcing a read from an address that is only guaranteed to be valid for |
Indeed, in D, pointers are always assumed to be aligned. (Otherwise, all memory access would be super slow – they'd need to be pieced together byte by byte!) You might want to check out https://forum.dlang.org/group/learn for questions like these. |
-mtriple=armv7-none-linux-androideabi
The text was updated successfully, but these errors were encountered: