| (((uint64_t)(rc)) & 1))
#define TLI_MASK TLI (0x3f, 0x3, 1)
+/* An XBM5 form instruction. */
+#define XBM5(op, xop, rc) \
+ (OP (op) \
+ | ((((uint64_t)(xop)) & 0x3ff) << 1) \
+ | (((uint64_t)(rc)) & 1))
+#define XBM5_MASK XBM5 (0x3f, 0x3ff, 1)
+
/* The BO encodings used in extended conditional branch mnemonics. */
#define BODNZF (0x0)
#define BODNZFP (0x1)
{"ternlogi", TLI(5,0,0), TLI_MASK, DRAFT, PPCVLE, {RT, RA, RB, TLIf}},
{"ternlogi.", TLI(5,0,1), TLI_MASK, DRAFT, PPCVLE, {RT, RA, RB, TLIf}},
+{"grev", XBM5(5,150,0), XBM5_MASK, DRAFT, PPCVLE, {RT, RA, RB}},
+{"grev.", XBM5(5,150,1), XBM5_MASK, DRAFT, PPCVLE, {RT, RA, RB}},
+
{"lxvp", DQXP(6,0), DQXP_MASK, POWER10, PPCVLE, {XTP, DQ, RA0}},
{"stxvp", DQXP(6,1), DQXP_MASK, POWER10, PPCVLE, {XTP, DQ, RA0}},