[llvm-commits] CVS: llvm/include/llvm/Intrinsics.h
Andrew Lenharth
alenhar2 at cs.uiuc.edu
Tue May 3 10:19:47 PDT 2005
Changes in directory llvm/include/llvm:
Intrinsics.h updated: 1.31 -> 1.32
---
Log message:
Implement count leading zeros (ctlz), count trailing zeros (cttz), and count
population (ctpop). Generic lowering is implemented, however only promotion
is implemented for SelectionDAG at the moment.
More coming soon.
---
Diffs of the changes: (+5 -1)
Intrinsics.h | 6 +++++-
1 files changed, 5 insertions(+), 1 deletion(-)
Index: llvm/include/llvm/Intrinsics.h
diff -u llvm/include/llvm/Intrinsics.h:1.31 llvm/include/llvm/Intrinsics.h:1.32
--- llvm/include/llvm/Intrinsics.h:1.31 Fri Apr 29 22:43:39 2005
+++ llvm/include/llvm/Intrinsics.h Tue May 3 12:19:29 2005
@@ -63,13 +63,17 @@
// libm related functions.
isunordered, // Return true if either argument is a NaN
- sqrt,
+ ctpop, //count population
+ ctlz, //count leading zeros
+ cttz, //count trailing zeros
+ sqrt, //square root
// Input/Output intrinsics.
readport,
writeport,
readio,
writeio
+
};
} // End Intrinsic namespace
More information about the llvm-commits
mailing list