[Bug target/99890] The -mstrict-aglign doesn't support the ARM targets
zmin1 at avic dot com
gcc-bugzilla@gcc.gnu.org
Sun Apr 4 03:18:28 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99890
--- Comment #2 from ZhangMin <zmin1 at avic dot com> ---
(In reply to Andrew Pinski from comment #1)
> Because it is a target specific option.
> What exactly are you trying to do?
>
> most instructions in ARMv7+ support unaligned data.
Although armv7 + supports non aligned data access, our application requires
data aligned access.
On PowerPC, we can achieve the goal well by using - mstrict align option, but
not on arm.
Is there any other way to solve this problem?
More information about the Gcc-bugs
mailing list