summaryrefslogtreecommitdiff
path: root/test/MC/Disassembler/SystemZ/insn-clhrl.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/Disassembler/SystemZ/insn-clhrl.txt')
-rw-r--r--test/MC/Disassembler/SystemZ/insn-clhrl.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/test/MC/Disassembler/SystemZ/insn-clhrl.txt b/test/MC/Disassembler/SystemZ/insn-clhrl.txt
new file mode 100644
index 0000000000..6fdd9e23df
--- /dev/null
+++ b/test/MC/Disassembler/SystemZ/insn-clhrl.txt
@@ -0,0 +1,24 @@
+# RUN: llvm-mc --disassemble %s -triple=s390x-linux-gnu | FileCheck %s
+# CHECK: clhrl %r0, 0xaabbccdc
+0xc6 0x07 0x55 0x5d 0xe6 0x6e
+
+# CHECK: clhrl %r15, 0xaabbcce2
+0xc6 0xf7 0x55 0x5d 0xe6 0x6e
+
+# CHECK: clhrl %r0, 0xc
+0xc6 0x07 0x00 0x00 0x00 0x00
+
+# CHECK: clhrl %r15, 0x12
+0xc6 0xf7 0x00 0x00 0x00 0x00
+
+# CHECK: clhrl %r3, 0x18
+0xc6 0x37 0x00 0x00 0x00 0x00
+
+# CHECK: clhrl %r4, 0x1e
+0xc6 0x47 0x00 0x00 0x00 0x00
+
+# CHECK: clhrl %r7, 0x24
+0xc6 0x77 0x00 0x00 0x00 0x00
+
+# CHECK: clhrl %r8, 0x2a
+0xc6 0x87 0x00 0x00 0x00 0x00