PPC: Add CPU feature for processor control
authorAlexander Graf <agraf@suse.de>
Tue, 31 Jan 2012 02:13:30 +0000 (03:13 +0100)
committerAlexander Graf <agraf@suse.de>
Thu, 2 Feb 2012 01:47:47 +0000 (02:47 +0100)
We're soon going to implement processor control features. Add the
feature flag, so we're well prepared.

Signed-off-by: Alexander Graf <agraf@suse.de>
target-ppc/cpu.h

index f9cea3d674f3c04c05215995522cbdd8f47252d3..fbcf4881a807ead3ba6061624ae919458691b87f 100644 (file)
@@ -1916,8 +1916,10 @@ enum {
     PPC2_VSX           = 0x0000000000000002ULL,
     /* Decimal Floating Point (DFP)                                          */
     PPC2_DFP           = 0x0000000000000004ULL,
+    /* Embedded.Processor Control                                            */
+    PPC2_PRCNTL        = 0x0000000000000008ULL,
 
-#define PPC_TCG_INSNS2 (PPC2_BOOKE206)
+#define PPC_TCG_INSNS2 (PPC2_BOOKE206 | PPC2_PRCNTL)
 };
 
 /*****************************************************************************/