[llvm-commits] CVS: llvm/lib/Target/README.txt
Chris Lattner
lattner at cs.uiuc.edu
Fri Sep 15 13:31:51 PDT 2006
Changes in directory llvm/lib/Target:
README.txt updated: 1.36 -> 1.37
---
Log message:
add a nate note
---
Diffs of the changes: (+6 -0)
README.txt | 6 ++++++
1 files changed, 6 insertions(+)
Index: llvm/lib/Target/README.txt
diff -u llvm/lib/Target/README.txt:1.36 llvm/lib/Target/README.txt:1.37
--- llvm/lib/Target/README.txt:1.36 Thu Aug 24 18:06:02 2006
+++ llvm/lib/Target/README.txt Fri Sep 15 15:31:36 2006
@@ -240,4 +240,10 @@
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?
More information about the llvm-commits
mailing list