summaryrefslogtreecommitdiff
path: root/test/MC/Disassembler/SystemZ/insn-xihf.txt
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@linux.vnet.ibm.com>2013-05-14 10:17:52 +0000
committerRichard Sandiford <rsandifo@linux.vnet.ibm.com>2013-05-14 10:17:52 +0000
commitc3b20c260ee17a66c6306f81293c75681d8ea0aa (patch)
treefdc283d6c8468f22fb87cf0b90cf4abf46cf7170 /test/MC/Disassembler/SystemZ/insn-xihf.txt
parent5096dc74ae0df903d54085af3a57fa66b382493c (diff)
downloadllvm-c3b20c260ee17a66c6306f81293c75681d8ea0aa.tar.gz
llvm-c3b20c260ee17a66c6306f81293c75681d8ea0aa.tar.bz2
llvm-c3b20c260ee17a66c6306f81293c75681d8ea0aa.tar.xz
[SystemZ] Add disassembler support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181777 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/Disassembler/SystemZ/insn-xihf.txt')
-rw-r--r--test/MC/Disassembler/SystemZ/insn-xihf.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/MC/Disassembler/SystemZ/insn-xihf.txt b/test/MC/Disassembler/SystemZ/insn-xihf.txt
new file mode 100644
index 0000000000..e0231ce3de
--- /dev/null
+++ b/test/MC/Disassembler/SystemZ/insn-xihf.txt
@@ -0,0 +1,9 @@
+# RUN: llvm-mc --disassemble %s -triple=s390x-linux-gnu | FileCheck %s
+# CHECK: xihf %r0, 0
+0xc0 0x06 0x00 0x00 0x00 0x00
+
+# CHECK: xihf %r0, 4294967295
+0xc0 0x06 0xff 0xff 0xff 0xff
+
+# CHECK: xihf %r15, 0
+0xc0 0xf6 0x00 0x00 0x00 0x00