summaryrefslogtreecommitdiff
path: root/test/MC/Disassembler/SystemZ/insn-bras.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/Disassembler/SystemZ/insn-bras.txt')
-rw-r--r--test/MC/Disassembler/SystemZ/insn-bras.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/MC/Disassembler/SystemZ/insn-bras.txt b/test/MC/Disassembler/SystemZ/insn-bras.txt
new file mode 100644
index 0000000000..c02f1d010a
--- /dev/null
+++ b/test/MC/Disassembler/SystemZ/insn-bras.txt
@@ -0,0 +1,18 @@
+# RUN: llvm-mc --disassemble %s -triple=s390x-linux-gnu | FileCheck %s
+# CHECK: bras %r0, 0x0
+0xa7 0x05 0x00 0x00
+
+# CHECK: bras %r14, 0x4
+0xa7 0xe5 0x00 0x00
+
+# CHECK: bras %r15, 0x8
+0xa7 0xf5 0x00 0x00
+
+# CHECK: bras %r0, 0xa
+0xa7 0x05 0xff 0xff
+
+# CHECK: bras %r14, 0xffffffffffff0010
+0xa7 0xe5 0x80 0x00
+
+# CHECK: bras %r15, 0x10012
+0xa7 0xf5 0x7f 0xff