[Bug target/82445] ARM target generates unaligned STRD instruction
petrcvekcz at gmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Oct 18 10:22:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82445
Petr Cvek <petrcvekcz at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |petrcvekcz at gmail dot com
--- Comment #5 from Petr Cvek <petrcvekcz at gmail dot com> ---
Get the same bug with: gcc version 7.1.0 (crosstool-NG
crosstool-ng-1.23.0-88-gfae66ae3)
Bug free version: gcc version 6.3.0 (crosstool-NG
crosstool-ng-1.22.0-452-gc7b1e295)
Testing program: just main() with "helloworld" calling the example code
(strd.c) compiled as object file.
march/mtune combinations which are OK:
-march=armv5te -mtune=xscale
-march=armv5te -mtune=iwmmxt
-march=iwmmxt
-march=armv5t (actually less opcodes than variants above)
-march=armv5
march/mtune combinations which generate an unaligned access in STRD (even with
-mno-unaligned-access):
-march=armv5te (tested on a real HW, generating alignment exceptions in
/proc/cpu/alignment)
-march=armv5tej (not existing on gcc 6.3.0)
-march=armv5te -mtune=arm1020e
-march=armv5te -mtune=arm926ej-s
More information about the Gcc-bugs
mailing list