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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



David Daney wrote:
Maciej W. Rozycki wrote:
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

Currently, I (and thus GCC 4.3) am assuming that Linux emulates 'll', 'sc' and 'sync', If sync is not emulated, we would need to adjust the code generation so that it is not emitted on ISAs that don't support it.


I just checked myself. 'sync' is not emulated. We will have to make a change so that it is not emitted on ISAs that do not support it.

David Daney


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux