RTS: fix xchg/cas fcns to invoke memory barrier on ARMv7 platform

Authored by kgardas on Jul 9 2011, 10:54 AM.

Description

RTS: fix xchg/cas fcns to invoke memory barrier on ARMv7 platform

This patch fixes RTS' xchg and cas functions. On ARMv7 it is recommended
to add memory barrier after using ldrex/strex for implementing atomic
lock or operation.

Details

Committed
Manuel M T Chakravarty <chak@cse.unsw.edu.au>Aug 10 2011, 7:03 AM
Pushed
bgamariAug 25 2016, 1:39 PM
Parents
rGHCDIFFb0538fd43a8d: implement ARMv7 specific memory barriers
Branches
Unknown
Tags
Unknown