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.


-Michael

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

Reply via email to