projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
2fa7ce2
)
add a note
author
Chris Lattner
<sabre@nondot.org>
Fri, 18 May 2007 20:18:14 +0000
(20:18 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 18 May 2007 20:18:14 +0000
(20:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37239
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/README.txt
patch
|
blob
|
history
diff --git
a/lib/Target/X86/README.txt
b/lib/Target/X86/README.txt
index 477838d0e5c5ea7a73e7442ac5f4cbe09744706d..9ac0bb5972a686bcdef6f9ee167b45e509f9dcfd 100644
(file)
--- a/
lib/Target/X86/README.txt
+++ b/
lib/Target/X86/README.txt
@@
-26,6
+26,15
@@
long long test(int X, int Y) { return (long long)X*Y; }
... 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.