[llvm-commits] CVS: llvm/lib/Target/X86/README.txt

Chris Lattner lattner at cs.uiuc.edu
Tue Jan 31 14:59:58 PST 2006



Changes in directory llvm/lib/Target/X86:

README.txt updated: 1.34 -> 1.35
---
Log message:

turning these into 'adds' would require extra copies


---
Diffs of the changes:  (+5 -7)

 README.txt |   12 +++++-------
 1 files changed, 5 insertions(+), 7 deletions(-)


Index: llvm/lib/Target/X86/README.txt
diff -u llvm/lib/Target/X86/README.txt:1.34 llvm/lib/Target/X86/README.txt:1.35
--- llvm/lib/Target/X86/README.txt:1.34	Tue Jan 31 16:26:21 2006
+++ llvm/lib/Target/X86/README.txt	Tue Jan 31 16:59:46 2006
@@ -247,21 +247,19 @@
 
 _cmp:
         subl $4, %esp
-1)      leal 20(%esp), %eax
+        leal 20(%esp), %eax
         movss 12(%esp), %xmm0
-1)      leal 16(%esp), %ecx
+        leal 16(%esp), %ecx
         ucomiss 8(%esp), %xmm0
         cmovb %ecx, %eax
-2)      movss (%eax), %xmm0
-2)      movss %xmm0, (%esp)
+1)      movss (%eax), %xmm0
+1)      movss %xmm0, (%esp)
         flds (%esp)
         addl $4, %esp
         ret
 
 
-1) These LEA's should be adds.  This is tricky because they are FrameIndex's
-   before prolog-epilog rewriting.
-2) We shouldn't load into XMM regs only to store it back.
+1) We shouldn't load into XMM regs only to store it back.
 
 //===---------------------------------------------------------------------===//
 






More information about the llvm-commits mailing list