summaryrefslogtreecommitdiff
path: root/test/MC/Disassembler
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@linux.vnet.ibm.com>2013-10-01 14:53:46 +0000
committerRichard Sandiford <rsandifo@linux.vnet.ibm.com>2013-10-01 14:53:46 +0000
commitad366a3f67679a56d25464dc2bcad3a0a6a51780 (patch)
tree39b7511c4c9ec60d3ce4c5738e98c350e38ce8f3 /test/MC/Disassembler
parentbd1958d8e99ebd5a885f848b2f688c399cfc9886 (diff)
downloadllvm-ad366a3f67679a56d25464dc2bcad3a0a6a51780.tar.gz
llvm-ad366a3f67679a56d25464dc2bcad3a0a6a51780.tar.bz2
llvm-ad366a3f67679a56d25464dc2bcad3a0a6a51780.tar.xz
[SystemZ] Add immediate addition involving high words
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191774 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/Disassembler')
-rw-r--r--test/MC/Disassembler/SystemZ/insns.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/MC/Disassembler/SystemZ/insns.txt b/test/MC/Disassembler/SystemZ/insns.txt
index 4775a5d312..2f2e7fa0cd 100644
--- a/test/MC/Disassembler/SystemZ/insns.txt
+++ b/test/MC/Disassembler/SystemZ/insns.txt
@@ -349,6 +349,24 @@
# CHECK: ahy %r15, 0
0xe3 0xf0 0x00 0x00 0x00 0x7a
+# CHECK: aih %r0, -2147483648
+0xcc 0x08 0x80 0x00 0x00 0x00
+
+# CHECK: aih %r0, -1
+0xcc 0x08 0xff 0xff 0xff 0xff
+
+# CHECK: aih %r0, 0
+0xcc 0x08 0x00 0x00 0x00 0x00
+
+# CHECK: aih %r0, 1
+0xcc 0x08 0x00 0x00 0x00 0x01
+
+# CHECK: aih %r0, 2147483647
+0xcc 0x08 0x7f 0xff 0xff 0xff
+
+# CHECK: aih %r15, 0
+0xcc 0xf8 0x00 0x00 0x00 0x00
+
# CHECK: alcgr %r0, %r0
0xb9 0x88 0x00 0x00