summaryrefslogtreecommitdiff
path: root/test/MC/Disassembler/SystemZ/insn-nihf.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/Disassembler/SystemZ/insn-nihf.txt')
-rw-r--r--test/MC/Disassembler/SystemZ/insn-nihf.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/MC/Disassembler/SystemZ/insn-nihf.txt b/test/MC/Disassembler/SystemZ/insn-nihf.txt
new file mode 100644
index 0000000000..ee91a7869a
--- /dev/null
+++ b/test/MC/Disassembler/SystemZ/insn-nihf.txt
@@ -0,0 +1,9 @@
+# RUN: llvm-mc --disassemble %s -triple=s390x-linux-gnu | FileCheck %s
+# CHECK: nihf %r0, 0
+0xc0 0x0a 0x00 0x00 0x00 0x00
+
+# CHECK: nihf %r0, 4294967295
+0xc0 0x0a 0xff 0xff 0xff 0xff
+
+# CHECK: nihf %r15, 0
+0xc0 0xfa 0x00 0x00 0x00 0x00