summaryrefslogtreecommitdiff
path: root/test/MC/Disassembler/SystemZ/insn-cfi.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/Disassembler/SystemZ/insn-cfi.txt')
-rw-r--r--test/MC/Disassembler/SystemZ/insn-cfi.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/MC/Disassembler/SystemZ/insn-cfi.txt b/test/MC/Disassembler/SystemZ/insn-cfi.txt
new file mode 100644
index 0000000000..ffc38b5946
--- /dev/null
+++ b/test/MC/Disassembler/SystemZ/insn-cfi.txt
@@ -0,0 +1,18 @@
+# RUN: llvm-mc --disassemble %s -triple=s390x-linux-gnu | FileCheck %s
+# CHECK: cfi %r0, -2147483648
+0xc2 0x0d 0x80 0x00 0x00 0x00
+
+# CHECK: cfi %r0, -1
+0xc2 0x0d 0xff 0xff 0xff 0xff
+
+# CHECK: cfi %r0, 0
+0xc2 0x0d 0x00 0x00 0x00 0x00
+
+# CHECK: cfi %r0, 1
+0xc2 0x0d 0x00 0x00 0x00 0x01
+
+# CHECK: cfi %r0, 2147483647
+0xc2 0x0d 0x7f 0xff 0xff 0xff
+
+# CHECK: cfi %r15, 0
+0xc2 0xfd 0x00 0x00 0x00 0x00