public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/52941] New: SH Target: Add support for movco.l / movli.l atomics on SH4A
@ 2012-04-11 23:29 olegendo at gcc dot gnu.org
  2012-04-12  1:19 ` [Bug target/52941] " kkojima at gcc dot gnu.org
                   ` (17 more replies)
  0 siblings, 18 replies; 19+ messages in thread
From: olegendo at gcc dot gnu.org @ 2012-04-11 23:29 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52941

             Bug #: 52941
           Summary: SH Target: Add support for movco.l / movli.l atomics
                    on SH4A
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: olegendo@gcc.gnu.org
                CC: kkojima@gcc.gnu.org
            Target: sh4a-*-*


I could do that, however I'm not sure when the movco/movli atomics should be
enabled.  We've got the '-msoft-atomic' option, which enables the GNU/Linux
gUSA atomics.  The movco/movli atomics would actually be compatible with a gUSA
enabled kernel (at least on a single-core system).  However, I'm not sure
whether -msoft-atomic should enable movco/movli atomics on SH4A or not.
Other than that, should we add another option '-mhard-atomic' (which would
enable the movco/movli atomics on SH4A and disable all atomic insns for
non-SH4A)?
Actually, I think the options should be '-msp-atomic' and '-mmp-atomic', where
'-msp-atomic' would be the current '-msoft-atomic'.

Kaz, what do you think?


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2014-10-08 23:18 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-11 23:29 [Bug target/52941] New: SH Target: Add support for movco.l / movli.l atomics on SH4A olegendo at gcc dot gnu.org
2012-04-12  1:19 ` [Bug target/52941] " kkojima at gcc dot gnu.org
2012-04-12  6:31 ` olegendo at gcc dot gnu.org
2012-04-13  3:29 ` kkojima at gcc dot gnu.org
2012-04-16  9:15 ` olegendo at gcc dot gnu.org
2012-04-16  9:34 ` olegendo at gcc dot gnu.org
2012-04-16 22:38 ` kkojima at gcc dot gnu.org
2012-04-17  0:03 ` olegendo at gcc dot gnu.org
2012-04-17  0:54 ` kkojima at gcc dot gnu.org
2012-04-30 19:16 ` olegendo at gcc dot gnu.org
2012-04-30 19:21 ` olegendo at gcc dot gnu.org
2012-05-29 20:36 ` olegendo at gcc dot gnu.org
2012-06-14  9:26 ` ubizjak at gmail dot com
2012-06-16  8:30 ` olegendo at gcc dot gnu.org
2013-10-06 11:15 ` olegendo at gcc dot gnu.org
2013-12-08 16:49 ` olegendo at gcc dot gnu.org
2014-10-08 23:13 ` olegendo at gcc dot gnu.org
2014-10-08 23:16 ` olegendo at gcc dot gnu.org
2014-10-08 23:18 ` olegendo at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).