Changes in directory llvm/lib/Target/X86:
README.txt updated: 1.168 -> 1.169 --- Log message: add a note --- Diffs of the changes: (+9 -0) README.txt | 9 +++++++++ 1 files changed, 9 insertions(+) Index: llvm/lib/Target/X86/README.txt diff -u llvm/lib/Target/X86/README.txt:1.168 llvm/lib/Target/X86/README.txt:1.169 --- llvm/lib/Target/X86/README.txt:1.168 Wed May 9 19:08:04 2007 +++ llvm/lib/Target/X86/README.txt Fri May 18 15:18:14 2007 @@ -26,6 +26,15 @@ ... which should only be one imul instruction. +or: + +unsigned long long int t2(unsigned int a, unsigned int b) { + return (unsigned long long)a * b; +} + +... which should be one mul instruction. + + This can be done with a custom expander, but it would be nice to move this to generic code. _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits