summaryrefslogtreecommitdiff
path: root/test/MC/Disassembler/SystemZ/insn-nihh.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/Disassembler/SystemZ/insn-nihh.txt')
-rw-r--r--test/MC/Disassembler/SystemZ/insn-nihh.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/MC/Disassembler/SystemZ/insn-nihh.txt b/test/MC/Disassembler/SystemZ/insn-nihh.txt
new file mode 100644
index 0000000000..4036ff4748
--- /dev/null
+++ b/test/MC/Disassembler/SystemZ/insn-nihh.txt
@@ -0,0 +1,12 @@
+# RUN: llvm-mc --disassemble %s -triple=s390x-linux-gnu | FileCheck %s
+# CHECK: nihh %r0, 0
+0xa5 0x04 0x00 0x00
+
+# CHECK: nihh %r0, 32768
+0xa5 0x04 0x80 0x00
+
+# CHECK: nihh %r0, 65535
+0xa5 0x04 0xff 0xff
+
+# CHECK: nihh %r15, 0
+0xa5 0xf4 0x00 0x00