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