This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/52941] SH Target: Add support for movco.l / movli.l atomics on SH4A
- From: "olegendo at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 06 Oct 2013 11:14:56 +0000
- Subject: [Bug target/52941] SH Target: Add support for movco.l / movli.l atomics on SH4A
- Auto-submitted: auto-generated
- References: <bug-52941-4 at http dot gcc dot gnu dot org/bugzilla/>
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'.