summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Musta2014-12-18 17:34:30 +0100
committerAlexander Graf2015-01-07 16:16:27 +0100
commite43668a7d20e5d2dfe92b2f3426280b2a351333c (patch)
treee7b8f0704ce5925eb4d7288112c552ec2cefeed6
parenttarget-ppc: Introduce Instruction Type for Transactional Memory (diff)
downloadqemu-e43668a7d20e5d2dfe92b2f3426280b2a351333c.tar.gz
qemu-e43668a7d20e5d2dfe92b2f3426280b2a351333c.tar.xz
qemu-e43668a7d20e5d2dfe92b2f3426280b2a351333c.zip
target-ppc: Introduce Feature Flag for Transactional Memory
Add a flag (POWERPC_FLAG_TM) for the Transactional Memory Facility introduced in Power ISA 2.07. Signed-off-by: Tom Musta <tommusta@gmail.com> Signed-off-by: Alexander Graf <agraf@suse.de>
-rw-r--r--target-ppc/cpu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/target-ppc/cpu.h b/target-ppc/cpu.h
index 351008384e..38176c05aa 100644
--- a/target-ppc/cpu.h
+++ b/target-ppc/cpu.h
@@ -584,6 +584,8 @@ enum {
POWERPC_FLAG_CFAR = 0x00040000,
/* Has VSX */
POWERPC_FLAG_VSX = 0x00080000,
+ /* Has Transaction Memory (ISA 2.07) */
+ POWERPC_FLAG_TM = 0x00100000,
};
/*****************************************************************************/