target-ppc: Add ISA 2.06 stbcx. and sthcx. Instructions
commit587c51f74bcf2f9aa03b7d8e1cff229f74d02860
authorTom Musta <tommusta@gmail.com>
Tue, 7 Jan 2014 16:05:57 +0000 (7 10:05 -0600)
committerAlexander Graf <agraf@suse.de>
Wed, 5 Mar 2014 02:06:41 +0000 (5 03:06 +0100)
treeadad69e073e6271e106594a01b7fbfee007c83be
parent5c77a786e21e9dc12efc0f0590221e67dd5143da
target-ppc: Add ISA 2.06 stbcx. and sthcx. Instructions

This patch adds the byte and halfword variants of the Store Conditional
instructions.   A common macro is introduced and the existing implementations
of stwcx. and stdcx. are refactored to use this macro.

Signed-off-by: Tom Musta <tommusta@gmail.com>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Alexander Graf <agraf@suse.de>
target-ppc/translate.c