summaryrefslogtreecommitdiff
path: root/test/MC/Disassembler/SystemZ/insn-cegbr.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/Disassembler/SystemZ/insn-cegbr.txt')
-rw-r--r--test/MC/Disassembler/SystemZ/insn-cegbr.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/MC/Disassembler/SystemZ/insn-cegbr.txt b/test/MC/Disassembler/SystemZ/insn-cegbr.txt
new file mode 100644
index 0000000000..4cd4b5b6b6
--- /dev/null
+++ b/test/MC/Disassembler/SystemZ/insn-cegbr.txt
@@ -0,0 +1,15 @@
+# RUN: llvm-mc --disassemble %s -triple=s390x-linux-gnu | FileCheck %s
+# CHECK: cegbr %f0, %r0
+0xb3 0xa4 0x00 0x00
+
+# CHECK: cegbr %f0, %r15
+0xb3 0xa4 0x00 0x0f
+
+# CHECK: cegbr %f15, %r0
+0xb3 0xa4 0x00 0xf0
+
+# CHECK: cegbr %f7, %r8
+0xb3 0xa4 0x00 0x78
+
+# CHECK: cegbr %f15, %r15
+0xb3 0xa4 0x00 0xff