Update
authorEvan Cheng <evan.cheng@apple.com>
Tue, 28 Mar 2006 06:55:45 +0000 (06:55 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Tue, 28 Mar 2006 06:55:45 +0000 (06:55 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27220 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/README.txt

index 9618d9cb65c751d21d38bb5ebca554d3d3474c2c..09d9bb6ef866f5ce88bae47ab6fe708886dd18e8 100644 (file)
@@ -665,26 +665,5 @@ directly %esp[0] if there are no other uses.
 
 //===---------------------------------------------------------------------===//
 
-Is it really a good idea to use movlhps to move 1 double-precision FP value from
-low quadword of source to high quadword of destination?
-
-e.g.
-
-void test2 (v2sd *b, double X, double Y) {
-  v2sd a = (v2sd) {X, X*Y};
-  *b = a;
-}
-
-       movsd 8(%esp), %xmm0
-       movapd %xmm0, %xmm1
-       mulsd 16(%esp), %xmm1
-       movlhps %xmm1, %xmm0
-       movl 4(%esp), %eax
-       movapd %xmm0, (%eax)
-       ret
-
-icc uses unpcklpd instead.
-
-//===---------------------------------------------------------------------===//
-
-Use movhps and movlhps to update upper 64-bits of a v4sf value.
+Use movhps to update upper 64-bits of a v4sf value. Also movlps on lower half
+of a v4sf value.