[llvm-commits] CVS: llvm/lib/Target/X86/README-X86-64.txt
Chris Lattner
sabre at nondot.org
Wed Mar 28 10:27:09 PDT 2007
Changes in directory llvm/lib/Target/X86:
README-X86-64.txt updated: 1.3 -> 1.4
---
Log message:
Dan pointed out that this is done, remove it!
---
Diffs of the changes: (+0 -21)
README-X86-64.txt | 21 ---------------------
1 files changed, 21 deletions(-)
Index: llvm/lib/Target/X86/README-X86-64.txt
diff -u llvm/lib/Target/X86/README-X86-64.txt:1.3 llvm/lib/Target/X86/README-X86-64.txt:1.4
--- llvm/lib/Target/X86/README-X86-64.txt:1.3 Tue Dec 5 13:50:18 2006
+++ llvm/lib/Target/X86/README-X86-64.txt Wed Mar 28 12:26:52 2007
@@ -30,27 +30,6 @@
//===---------------------------------------------------------------------===//
-For this:
-
-int test(int a)
-{
- return a * 3;
-}
-
-We generates
- leal (%edi,%edi,2), %eax
-
-We should be generating
- leal (%rdi,%rdi,2), %eax
-
-instead. The later form does not require an address-size prefix 67H.
-
-It's probably ok to simply emit the corresponding 64-bit super class registers
-in this case?
-
-
-//===---------------------------------------------------------------------===//
-
AMD64 Optimization Manual 8.2 has some nice information about optimizing integer
multiplication by a constant. How much of it applies to Intel's X86-64
implementation? There are definite trade-offs to consider: latency vs. register
More information about the llvm-commits
mailing list