diff options
author | Richard Sandiford <rsandifo@linux.vnet.ibm.com> | 2013-08-12 10:05:58 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@linux.vnet.ibm.com> | 2013-08-12 10:05:58 +0000 |
commit | f37c8feb468a0e1876c08bdeb449bdb5999c0534 (patch) | |
tree | 681b3c2a059c42b44376e4004bc4f1cb222f25d3 /test/MC | |
parent | 8d8bdff6d7eccb05bf16e18141263ee72ea8296b (diff) | |
download | external_llvm-f37c8feb468a0e1876c08bdeb449bdb5999c0534.zip external_llvm-f37c8feb468a0e1876c08bdeb449bdb5999c0534.tar.gz external_llvm-f37c8feb468a0e1876c08bdeb449bdb5999c0534.tar.bz2 |
[SystemZ] Add a definition of the IPM instruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188161 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r-- | test/MC/Disassembler/SystemZ/insns.txt | 9 | ||||
-rw-r--r-- | test/MC/SystemZ/insn-good.s | 8 |
2 files changed, 17 insertions, 0 deletions
diff --git a/test/MC/Disassembler/SystemZ/insns.txt b/test/MC/Disassembler/SystemZ/insns.txt index 51860cc..97e41fe 100644 --- a/test/MC/Disassembler/SystemZ/insns.txt +++ b/test/MC/Disassembler/SystemZ/insns.txt @@ -2260,6 +2260,15 @@ # CHECK: iill %r15, 0 0xa5 0xf3 0x00 0x00 +# CHECK: ipm %r0 +0xb2 0x22 0x00 0x00 + +# CHECK: ipm %r1 +0xb2 0x22 0x00 0x10 + +# CHECK: ipm %r15 +0xb2 0x22 0x00 0xf0 + # CHECK: la %r0, 0 0x41 0x00 0x00 0x00 diff --git a/test/MC/SystemZ/insn-good.s b/test/MC/SystemZ/insn-good.s index c997271..c4e09e4 100644 --- a/test/MC/SystemZ/insn-good.s +++ b/test/MC/SystemZ/insn-good.s @@ -3593,6 +3593,14 @@ iill %r0, 0xffff iill %r15, 0 +#CHECK: ipm %r0 # encoding: [0xb2,0x22,0x00,0x00] +#CHECK: ipm %r1 # encoding: [0xb2,0x22,0x00,0x10] +#CHECK: ipm %r15 # encoding: [0xb2,0x22,0x00,0xf0] + + ipm %r0 + ipm %r1 + ipm %r15 + #CHECK: l %r0, 0 # encoding: [0x58,0x00,0x00,0x00] #CHECK: l %r0, 4095 # encoding: [0x58,0x00,0x0f,0xff] #CHECK: l %r0, 0(%r1) # encoding: [0x58,0x00,0x10,0x00] |