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