[Bug target/52941] SH Target: Add support for movco.l / movli.l atomics on SH4A
olegendo at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Oct 6 11:15:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52941
--- Comment #14 from Oleg Endo <olegendo at gcc dot gnu.org> ---
Hm, maybe it would make sense to add a target specific option to allow setting
set the minimum atomic variable alignment (MINIMUM_ATOMIC_ALIGNMENT macro). If
set to 32 bit, movco.l and movli.l insns can be used more efficiently for
variables < 32 bit. The existing '-matomic-model' option could be extended
with an optional parameter 'align=' which would default to '1'.
More information about the Gcc-bugs
mailing list