summaryrefslogtreecommitdiff
path: root/test/MC/Disassembler/SystemZ/insn-chrl.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/Disassembler/SystemZ/insn-chrl.txt')
-rw-r--r--test/MC/Disassembler/SystemZ/insn-chrl.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/test/MC/Disassembler/SystemZ/insn-chrl.txt b/test/MC/Disassembler/SystemZ/insn-chrl.txt
new file mode 100644
index 0000000000..1724329e8c
--- /dev/null
+++ b/test/MC/Disassembler/SystemZ/insn-chrl.txt
@@ -0,0 +1,24 @@
+# RUN: llvm-mc --disassemble %s -triple=s390x-linux-gnu | FileCheck %s
+# CHECK: chrl %r0, 0x0
+0xc6 0x05 0x00 0x00 0x00 0x00
+
+# CHECK: chrl %r15, 0x6
+0xc6 0xf5 0x00 0x00 0x00 0x00
+
+# CHECK: chrl %r0, 0xa
+0xc6 0x05 0xff 0xff 0xff 0xff
+
+# CHECK: chrl %r15, 0x10
+0xc6 0xf5 0xff 0xff 0xff 0xff
+
+# CHECK: chrl %r0, 0xffffffff00000018
+0xc6 0x05 0x80 0x00 0x00 0x00
+
+# CHECK: chrl %r15, 0xffffffff0000001e
+0xc6 0xf5 0x80 0x00 0x00 0x00
+
+# CHECK: chrl %r0, 0x100000022
+0xc6 0x05 0x7f 0xff 0xff 0xff
+
+# CHECK: chrl %r15, 0x100000028
+0xc6 0xf5 0x7f 0xff 0xff 0xff