[llvm-commits] CVS: llvm/lib/Target/X86/README.txt
Chris Lattner
sabre at nondot.org
Fri May 18 13:18:32 PDT 2007
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.
More information about the llvm-commits
mailing list