This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/52941] SH Target: Add support for movco.l / movli.l atomics on SH4A


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'.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]