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