summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKalle Raiskila <kalle.raiskila@nokia.com>2012-04-29 20:00:55 +0000
committerKalle Raiskila <kalle.raiskila@nokia.com>2012-04-29 20:00:55 +0000
commit4c5f83ea19b5801f972cffb1ce97ef2f87bb74da (patch)
tree25aa83689f1b43a98c0de7a0677904312fccb7e2
parentdb25381a540fc689cadc3ac74c74a426dc13d728 (diff)
downloadbcm5719-llvm-4c5f83ea19b5801f972cffb1ce97ef2f87bb74da.tar.gz
bcm5719-llvm-4c5f83ea19b5801f972cffb1ce97ef2f87bb74da.zip
Update the documentation of CellSPU, in case it gets removed in 3.1.
llvm-svn: 155797
-rw-r--r--llvm/CREDITS.TXT4
-rw-r--r--llvm/lib/Target/CellSPU/README.txt14
2 files changed, 18 insertions, 0 deletions
diff --git a/llvm/CREDITS.TXT b/llvm/CREDITS.TXT
index bf32a4c565b..6b10a0de079 100644
--- a/llvm/CREDITS.TXT
+++ b/llvm/CREDITS.TXT
@@ -342,6 +342,10 @@ W: http://vladimir_prus.blogspot.com
E: ghost@cs.msu.su
D: Made inst_iterator behave like a proper iterator, LowerConstantExprs pass
+N: Kalle Raiskila
+E: kalle.rasikila@nokia.com
+D: Some bugfixes to CellSPU
+
N: Xerxes Ranby
E: xerxes@zafena.se
D: Cmake dependency chain and various bug fixes
diff --git a/llvm/lib/Target/CellSPU/README.txt b/llvm/lib/Target/CellSPU/README.txt
index 3e7e0b68e8e..3bce9609bfe 100644
--- a/llvm/lib/Target/CellSPU/README.txt
+++ b/llvm/lib/Target/CellSPU/README.txt
@@ -37,6 +37,20 @@ to add 'spu' to configure's --enable-targets option, e.g.:
---------------------------------------------------------------------------
TODO:
+* In commit r142152 vector legalization was set to element promotion per
+ default. This breaks half vectors (e.g. v2i32) badly as they get element
+ promoted to much slower types (v2i64).
+
+* Many CellSPU specific codegen tests only grep & count the number of
+ instructions, not checking their place with FileCheck. There have also
+ been some commits that change the CellSPU checks, some of which might
+ have not been thoroughly scrutinized w.r.t. to the changes they cause in SPU
+ assembly. (especially since about the time of r142152)
+
+* Some of the i64 math have huge tablegen rules, which sometime cause
+ tablegen to run out of memory. See e.g. bug 8850. i64 arithmetics
+ should probably be done with libraries.
+
* Create a machine pass for performing dual-pipeline scheduling specifically
for CellSPU, and insert branch prediction instructions as needed.
OpenPOWER on IntegriCloud