--- /dev/null
+#as: -mlibresoc
+#objdump: -dr -Mlibresoc
+
+.*: file format .*
+
+
+Disassembly of section \.text:
+0+ <\.text>:
+.*:\s+(5b e0 00 11|11 00 e0 5b)\s+bmask\s+r31,r0,r0,0,0
+.*:\s+(58 1f 00 11|11 00 1f 58)\s+bmask\s+r0,r31,r0,0,0
+.*:\s+(58 00 f8 11|11 f8 00 58)\s+bmask\s+r0,r0,r31,0,0
+.*:\s+(58 00 07 d1|d1 07 00 58)\s+bmask\s+r0,r0,r0,31,0
+.*:\s+(58 00 00 31|31 00 00 58)\s+bmask\s+r0,r0,r0,0,1
#define MB CRB
#define MB_MASK (0x1f << 6)
{ 0x1f, 6, NULL, NULL, 0 },
+ /* The bm field in an BM2 form instruction. */
+#define bm CRB
/* The CRD32 field in an XL form instruction. */
#define CRD32 CRB + 1
#define SVo mi2 + 1
{ 0xf, 22, NULL, NULL, 0 },
+
+#define LBM2 SVo + 1
+ { 0x1, 5, NULL, NULL, 0 },
};
const unsigned int num_powerpc_operands = ARRAY_SIZE (powerpc_operands);
| (((uint64_t)(xop)) & 0x3f))
#define SVI_MASK SVI (0x3f, 0x3f)
+/* An BM2 form instruction. */
+#define BM2(op, xop) \
+ (OP (op) \
+ | (((uint64_t)(xop)) & 0x1f))
+#define BM2_MASK BM2 (0x3f, 0x1f)
+
/* The BO encodings used in extended conditional branch mnemonics. */
#define BODNZF (0x0)
#define BODNZFP (0x1)
{"fmvis", DX(22,3), DX_MASK, SVP64, PPCVLE, {FRS, DXD}},
{"fishmv", DX(22,11), DX_MASK, SVP64, PPCVLE, {FRS, DXD}},
+{"bmask", BM2(22,17), BM2_MASK, SVP64, PPCVLE, {RT, RA, RB, bm, LBM2}},
+
{"svstep", SVL(22,19,0), SVL_MASK, SVP64, PPCVLE, {RT, SVi, vf}},
{"svstep.", SVL(22,19,1), SVL_MASK, SVP64, PPCVLE, {RT, SVi, vf}},