target-ppc: Introduce tcheck
authorTom Musta <tommusta@gmail.com>
Thu, 18 Dec 2014 16:34:36 +0000 (10:34 -0600)
committerAlexander Graf <agraf@suse.de>
Wed, 7 Jan 2015 15:16:28 +0000 (16:16 +0100)
commitaeedd58234e7f211bcd6d0ad04cdc60c2a967aca
treee91a5ddd7a45d467796047a44ec060535329b6b8
parent56a846157edaba3389eb141e104774451d82ce51
target-ppc: Introduce tcheck

Add a degenerate implementation of the Transaction Check (tcheck)
instruction.  Since transaction always immediately fail, this
implementation simply sets CR[BF] to 0b1000, i.e. TDOOMED = 1
and MSR[TS] == 0.

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