projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42fe495
)
add a nate note
author
Chris Lattner
<sabre@nondot.org>
Fri, 15 Sep 2006 20:31:36 +0000
(20:31 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 15 Sep 2006 20:31:36 +0000
(20:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30399
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/README.txt
patch
|
blob
|
history
diff --git
a/lib/Target/README.txt
b/lib/Target/README.txt
index 86c231bf319609e3b9e7f20bc61cd556a15f4583..1f982b7f76a6a527b4660140331bdf9230acf8f8 100644
(file)
--- a/
lib/Target/README.txt
+++ b/
lib/Target/README.txt
@@
-240,4
+240,10
@@
_bar: addic r3,r3,-1
subfe r3,r3,r3
blr
+//===---------------------------------------------------------------------===//
+
+Legalize should lower ctlz like this:
+ ctlz(x) = popcnt((x-1) & ~x)
+
+on targets that have popcnt but not ctlz. itanium, what else?