A compare, swap and store facility is provided that does not require
external serialization. A compare and swap operation is performed using
an interlocked update operation. If the comparison indicates equality, a
store operation is performed. The compare, swap and store operations are
performed as a single unit of operation.