aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/X86
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
commit2189c1744398958407f6802cd07177a292cc1416 (patch)
tree2f91c975f8fca6ef1cd61ed4c94b9a41a608f2a4 /lib/Target/X86
parenta825d75f1dab354135a6608fb78640b8f844df20 (diff)
downloadexternal_llvm-2189c1744398958407f6802cd07177a292cc1416.zip
external_llvm-2189c1744398958407f6802cd07177a292cc1416.tar.gz
external_llvm-2189c1744398958407f6802cd07177a292cc1416.tar.bz2
add a note, this is actually not too bad to implement.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49466 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86')
-rw-r--r--lib/Target/X86/README-SSE.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/Target/X86/README-SSE.txt b/lib/Target/X86/README-SSE.txt
index bbd93bf..5cccfa8 100644
--- a/lib/Target/X86/README-SSE.txt
+++ b/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.
+
//===---------------------------------------------------------------------===//