target-ppc: retain l{w,d}arx loaded value
authorNathan Froyd <froydnj@codesourcery.com>
Mon, 3 Aug 2009 15:43:25 +0000 (08:43 -0700)
committermalc <av1474@comtv.ru>
Mon, 3 Aug 2009 16:33:41 +0000 (20:33 +0400)
commit18b21a2f83a26c3d6a9e7f0bdc4e8eb2b177e8f6
tree7e7a3100d4e34f207748ff34ab1be97231b3e467
parent174c80d51612ce33960965c75e40c922599a503e
target-ppc: retain l{w,d}arx loaded value

We do this so we can check on the corresponding stc{w,d}x. whether the
value has changed.  It's a poor man's form of implementing atomic
operations and is valid only for NPTL usermode Linux emulation.

Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: malc <av1474@comtv.ru>
target-ppc/cpu.h
target-ppc/helper.c
target-ppc/machine.c
target-ppc/op_helper.c
target-ppc/translate.c