On 23/06/10 16:19, Michael Schnell wrote:
On 06/23/2010 04:49 PM, Henry Vermaak wrote:

No, SWP is atomic, so the implementation looks good (at a glance).


Seemingly not on all ARM sub-archs:

From some ARM manual:

     The ARM7500FE does not use the lock feature available in the ARM701
macrocell
     You must take care to ensure that control of the memory is not
removed from the ARM
     processor while it is performing this instruction.

That only means that it doesn't send the lock signal to the external memory manager, so you can't have a multi processor implementation using this processor. It doesn't affect the working of the swp instruction.

Henry
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to