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 _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits