target-ppc: Introduce Privileged TM Noops
authorTom Musta <tommusta@gmail.com>
Thu, 18 Dec 2014 16:34:37 +0000 (10:34 -0600)
committerAlexander Graf <agraf@suse.de>
Wed, 7 Jan 2015 15:16:28 +0000 (16:16 +0100)
commitf83c2378bb412b205e9d14dca2f7758d3d23cc88
tree03204311dc7a9972e2145e46cb31de5bc8169a0d
parentaeedd58234e7f211bcd6d0ad04cdc60c2a967aca
target-ppc: Introduce Privileged TM Noops

Add the supervisory Transactional Memory instructions treclaim. and
trechkpt.  The implementation is a degenerate one that simply
checks privileged state, TM availability and then sets CR[0] to
0b0000, just like the unprivileged noops.

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