aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/Disassembler/SystemZ/insn-brasl.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/Disassembler/SystemZ/insn-brasl.txt')
-rw-r--r--test/MC/Disassembler/SystemZ/insn-brasl.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/MC/Disassembler/SystemZ/insn-brasl.txt b/test/MC/Disassembler/SystemZ/insn-brasl.txt
new file mode 100644
index 0000000..73718d0
--- /dev/null
+++ b/test/MC/Disassembler/SystemZ/insn-brasl.txt
@@ -0,0 +1,18 @@
+# RUN: llvm-mc --disassemble %s -triple=s390x-linux-gnu | FileCheck %s
+# CHECK: brasl %r0, 0x0
+0xc0 0x05 0x00 0x00 0x00 0x00
+
+# CHECK: brasl %r14, 0x6
+0xc0 0xe5 0x00 0x00 0x00 0x00
+
+# CHECK: brasl %r15, 0xc
+0xc0 0xf5 0x00 0x00 0x00 0x00
+
+# CHECK: brasl %r0, 0x10
+0xc0 0x05 0xff 0xff 0xff 0xff
+
+# CHECK: brasl %r14, 0xffffffff00000018
+0xc0 0xe5 0x80 0x00 0x00 0x00
+
+# CHECK: brasl %r15, 0x10000001c
+0xc0 0xf5 0x7f 0xff 0xff 0xff