summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-04-10 05:54:50 +0000
committerChris Lattner <sabre@nondot.org>2008-04-10 05:54:50 +0000
commitaeb23a8a34645bb7b6d3ded09678ac65946f174c (patch)
tree2a8138252b9928ceaf058a29dea12059ef8ebf7a
parentc692188075e1c5774566301ef60465e823ed5198 (diff)
downloadbcm5719-llvm-aeb23a8a34645bb7b6d3ded09678ac65946f174c.tar.gz
bcm5719-llvm-aeb23a8a34645bb7b6d3ded09678ac65946f174c.zip
add a note, this is actually not too bad to implement.
llvm-svn: 49466
-rw-r--r--llvm/lib/Target/X86/README-SSE.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/README-SSE.txt b/llvm/lib/Target/X86/README-SSE.txt
index bbd93bf3ed4..5cccfa8daa4 100644
--- a/llvm/lib/Target/X86/README-SSE.txt
+++ b/llvm/lib/Target/X86/README-SSE.txt
@@ -472,7 +472,13 @@ _doload64:
addl $12, %esp
ret
-instead of movsd from the stack.
+instead of movsd from the stack. This is actually not too bad to implement. The
+best way to do this is to implement a dag combine that turns
+bitconvert(build_pair(load a, load b)) into one load of the right type. The
+only trick to this is writing the predicate that determines that a/b are at the
+right offset from each other. For the enterprising hacker, InferAlignment is a
+helpful place to start poking if interested.
+
//===---------------------------------------------------------------------===//
OpenPOWER on IntegriCloud