summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-01-31 22:59:46 +0000
committerChris Lattner <sabre@nondot.org>2006-01-31 22:59:46 +0000
commit64387c3e9cb5f66359037992d5609a5d069edc12 (patch)
treee3b9ff9125bbd14139bc93b649466b3bba374f18 /llvm/lib/Target
parent72d5c256c9a7d87b7424cdc4f7b33fd57312ab1b (diff)
downloadbcm5719-llvm-64387c3e9cb5f66359037992d5609a5d069edc12.tar.gz
bcm5719-llvm-64387c3e9cb5f66359037992d5609a5d069edc12.zip
turning these into 'adds' would require extra copies
llvm-svn: 25858
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/X86/README.txt12
1 files changed, 5 insertions, 7 deletions
diff --git a/llvm/lib/Target/X86/README.txt b/llvm/lib/Target/X86/README.txt
index 45f2f4a6f57..becf9a459b8 100644
--- a/llvm/lib/Target/X86/README.txt
+++ b/llvm/lib/Target/X86/README.txt
@@ -247,21 +247,19 @@ llvm-as < setuge.ll | llc -march=x86 -mcpu=yonah -enable-x86-sse
_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.
//===---------------------------------------------------------------------===//
OpenPOWER on IntegriCloud