aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2006-04-18 03:45:01 +0000
committerEvan Cheng <evan.cheng@apple.com>2006-04-18 03:45:01 +0000
commit4980467476cd0cdaa32d8fd3b0ae38cd337a6996 (patch)
treef6c1fecbf660ddba5c0f2db8a56446ff5a5c27ca
parent72dd9bdcc57a71d7e9a6f3e68ca1a35ad437a980 (diff)
Correct comments
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27790 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/X86/README.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/Target/X86/README.txt b/lib/Target/X86/README.txt
index 39a4407f8b..67bc04ff71 100644
--- a/lib/Target/X86/README.txt
+++ b/lib/Target/X86/README.txt
@@ -982,17 +982,17 @@ LBB_main_4: # cond_true44
jne LBB_main_4 # cond_true44
There are two problems. 1) No need to two loop induction variables. We can
-compare against 262144 * 16. 2) Poor register allocation decisions. We should
+compare against 262144 * 16. 2) Known register coalescer issue. We should
be able eliminate one of the movaps:
- addps %xmm1, %xmm2
- subps %xmm3, %xmm2
+ addps %xmm2, %xmm1 <=== Commute!
+ subps %xmm3, %xmm1
movaps (%ecx), %xmm4
- movaps %xmm2, %xmm2 <=== Eliminate!
- addps %xmm4, %xmm2
+ movaps %xmm1, %xmm1 <=== Eliminate!
+ addps %xmm4, %xmm1
addl $16, %ecx
incl %edx
cmpl $262144, %edx
- movaps %xmm3, %xmm1
+ movaps %xmm3, %xmm2
movaps %xmm4, %xmm3
jne LBB_main_4 # cond_true44