diff options
author | Richard Sandiford <rsandifo@linux.vnet.ibm.com> | 2013-08-16 11:41:43 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@linux.vnet.ibm.com> | 2013-08-16 11:41:43 +0000 |
commit | 19262ee0725a09b7c621a3d2eb66ba1513ae932a (patch) | |
tree | 848fa9a49ad86171c7aa2a20873a01a5148bcdc3 /test/MC/Disassembler | |
parent | 4fc7355a21e1fa838406e15459aaf54a58fcf909 (diff) | |
download | llvm-19262ee0725a09b7c621a3d2eb66ba1513ae932a.tar.gz llvm-19262ee0725a09b7c621a3d2eb66ba1513ae932a.tar.bz2 llvm-19262ee0725a09b7c621a3d2eb66ba1513ae932a.tar.xz |
[SystemZ] Use SRST to implement strlen and strnlen
It would also make sense to use it for memchr; I'm working on that now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188547 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/Disassembler')
-rw-r--r-- | test/MC/Disassembler/SystemZ/insns.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/MC/Disassembler/SystemZ/insns.txt b/test/MC/Disassembler/SystemZ/insns.txt index c25bb9f946..328e2d63d4 100644 --- a/test/MC/Disassembler/SystemZ/insns.txt +++ b/test/MC/Disassembler/SystemZ/insns.txt @@ -6253,6 +6253,18 @@ # CHECK: srk %r2, %r3, %r4 0xb9 0xf9 0x40 0x23 +# CHECK: srst %r0, %r0 +0xb2 0x5e 0x00 0x00 + +# CHECK: srst %r0, %r15 +0xb2 0x5e 0x00 0x0f + +# CHECK: srst %r15, %r0 +0xb2 0x5e 0x00 0xf0 + +# CHECK: srst %r7, %r8 +0xb2 0x5e 0x00 0x78 + # CHECK: stc %r0, 0 0x42 0x00 0x00 0x00 |