summaryrefslogtreecommitdiff
path: root/test/MC/Disassembler/SystemZ/insn-ni.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/Disassembler/SystemZ/insn-ni.txt')
-rw-r--r--test/MC/Disassembler/SystemZ/insn-ni.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/MC/Disassembler/SystemZ/insn-ni.txt b/test/MC/Disassembler/SystemZ/insn-ni.txt
new file mode 100644
index 0000000000..b90888d71b
--- /dev/null
+++ b/test/MC/Disassembler/SystemZ/insn-ni.txt
@@ -0,0 +1,21 @@
+# RUN: llvm-mc --disassemble %s -triple=s390x-linux-gnu | FileCheck %s
+# CHECK: ni 0, 0
+0x94 0x00 0x00 0x00
+
+# CHECK: ni 4095, 0
+0x94 0x00 0x0f 0xff
+
+# CHECK: ni 0, 255
+0x94 0xff 0x00 0x00
+
+# CHECK: ni 0(%r1), 42
+0x94 0x2a 0x10 0x00
+
+# CHECK: ni 0(%r15), 42
+0x94 0x2a 0xf0 0x00
+
+# CHECK: ni 4095(%r1), 42
+0x94 0x2a 0x1f 0xff
+
+# CHECK: ni 4095(%r15), 42
+0x94 0x2a 0xff 0xff