target-ppc: Introduce TM Noops
commit56a846157edaba3389eb141e104774451d82ce51
authorTom Musta <tommusta@gmail.com>
Thu, 18 Dec 2014 16:34:35 +0000 (18 10:34 -0600)
committerAlexander Graf <agraf@suse.de>
Wed, 7 Jan 2015 15:16:27 +0000 (7 16:16 +0100)
tree31a96bb3ec72a229b86a7e6380cb0512507a02b2
parent0ff93d11bc0890b2569f748266c04f4417ec3233
target-ppc: Introduce TM Noops

Add degenerate implementations of the non-privileged Transactional
Memory instructions tend., tabort*. and tsr.  This implementation
simply checks the MSR[TM] bit and then sets CR0 to 0b0000.  This
is a reasonable degenerate implementation since transactions are
never allowed to begin and hence MSR[TS] is always 0b00.

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