This is the mail archive of the gcc@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]

Re: MIPS atomic memory operations (A.K.A PR 33479).


On Wed, 19 Sep 2007, Ralf Baechle wrote:

> Please make this loop closure branch a branch-likely.  This is necessary
> as a errata workaround for some processors.

 Do we emulate them for MIPS I?  We do emulate "ll" and "sc" and adding 
"sync" is easy (as a no-op as support for R3000 SMP is unlikely to ever 
happen).  Adding branches-likely, hmm...  Even though we do have logic to 
do that as a part of the FP emulator.

 A workaround for a CPU erratum fits within the "-mfix-*" option family 
quite well though.

  Maciej


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