aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/SystemZ
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@linux.vnet.ibm.com>2013-08-16 11:29:37 +0000
committerRichard Sandiford <rsandifo@linux.vnet.ibm.com>2013-08-16 11:29:37 +0000
commit4fc7355a21e1fa838406e15459aaf54a58fcf909 (patch)
tree0198bef41de5fcb25d5bf89940247980f28334a7 /test/MC/SystemZ
parente1b2af731e2a45344a7c502232f66c55cd746da0 (diff)
downloadexternal_llvm-4fc7355a21e1fa838406e15459aaf54a58fcf909.zip
external_llvm-4fc7355a21e1fa838406e15459aaf54a58fcf909.tar.gz
external_llvm-4fc7355a21e1fa838406e15459aaf54a58fcf909.tar.bz2
[SystemZ] Use MVST to implement strcpy and stpcpy
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188546 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/SystemZ')
-rw-r--r--test/MC/SystemZ/insn-good.s10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/MC/SystemZ/insn-good.s b/test/MC/SystemZ/insn-good.s
index a452992..da2b77e 100644
--- a/test/MC/SystemZ/insn-good.s
+++ b/test/MC/SystemZ/insn-good.s
@@ -5652,6 +5652,16 @@
mviy 524287(%r1), 42
mviy 524287(%r15), 42
+#CHECK: mvst %r0, %r0 # encoding: [0xb2,0x55,0x00,0x00]
+#CHECK: mvst %r0, %r15 # encoding: [0xb2,0x55,0x00,0x0f]
+#CHECK: mvst %r15, %r0 # encoding: [0xb2,0x55,0x00,0xf0]
+#CHECK: mvst %r7, %r8 # encoding: [0xb2,0x55,0x00,0x78]
+
+ mvst %r0,%r0
+ mvst %r0,%r15
+ mvst %r15,%r0
+ mvst %r7,%r8
+
#CHECK: mxbr %f0, %f0 # encoding: [0xb3,0x4c,0x00,0x00]
#CHECK: mxbr %f0, %f13 # encoding: [0xb3,0x4c,0x00,0x0d]
#CHECK: mxbr %f8, %f5 # encoding: [0xb3,0x4c,0x00,0x85]