public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/39079]  New: MIPS: __builtin___clear_cache() broken on SMP ISA_HAS_SYNCI systems.
@ 2009-02-02 17:00 daney at gcc dot gnu dot org
  2009-05-18 17:39 ` [Bug target/39079] " daney at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: daney at gcc dot gnu dot org @ 2009-02-02 17:00 UTC (permalink / raw)
  To: gcc-bugs

We expand __builtin___clear_cache() to a 'synci' instruction on ISA_HAS_SYNCI
systems, which invalidates the icache only on the local CPU.

On an SMP system, the caches on all CPUs should be invalidated.  To achieve
this we need to drop back to the old way of doing things by using the cache
flush system call.


-- 
           Summary: MIPS: __builtin___clear_cache() broken on SMP
                    ISA_HAS_SYNCI systems.
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: daney at gcc dot gnu dot org
 GCC build triplet: mips64-unknown-linux-gnu
  GCC host triplet: mips64-unknown-linux-gnu
GCC target triplet: mips64-unknown-linux-gnu


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


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

end of thread, other threads:[~2009-07-10 22:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-02 17:00 [Bug target/39079] New: MIPS: __builtin___clear_cache() broken on SMP ISA_HAS_SYNCI systems daney at gcc dot gnu dot org
2009-05-18 17:39 ` [Bug target/39079] " daney at gcc dot gnu dot org
2009-07-10 22:50 ` daney at gcc dot gnu dot org
2009-07-10 22:52 ` daney at gcc dot gnu dot 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).