summaryrefslogtreecommitdiff
path: root/lib/Target/Mips/MSA.txt
diff options
context:
space:
mode:
authorDaniel Sanders <daniel.sanders@imgtec.com>2013-09-27 13:04:21 +0000
committerDaniel Sanders <daniel.sanders@imgtec.com>2013-09-27 13:04:21 +0000
commite8eafdb67685d4f5d52ab0dce2339c37e39cdc44 (patch)
treefb1d2c07976e88b2437f09fa5b0b479b57431f42 /lib/Target/Mips/MSA.txt
parentb0922655166aeef6c54c7b4d31d1ccaecf492e2e (diff)
downloadllvm-e8eafdb67685d4f5d52ab0dce2339c37e39cdc44.tar.gz
llvm-e8eafdb67685d4f5d52ab0dce2339c37e39cdc44.tar.bz2
llvm-e8eafdb67685d4f5d52ab0dce2339c37e39cdc44.tar.xz
[mips][msa] Implemented copy_[us].d intrinsic.
This intrinsic is lowered into equivalent copy_s.w instructions during legalization. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191518 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MSA.txt')
-rw-r--r--lib/Target/Mips/MSA.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Target/Mips/MSA.txt b/lib/Target/Mips/MSA.txt
index a4f320ac00..a6a7dda88e 100644
--- a/lib/Target/Mips/MSA.txt
+++ b/lib/Target/Mips/MSA.txt
@@ -32,3 +32,8 @@ ilvr.d, ilvod.d, pckod.d:
splati.w:
It is not possible to emit splati.w since shf.w covers the same cases.
shf.w will be emitted instead.
+
+copy_s.w
+ On MIPS32, the copy_u.d intrinsic will emit this instruction instead of
+ copy_u.w. This is semantically equivalent since the general-purpose
+ register file is 32-bits wide.