[llvm-commits] CVS: llvm/include/llvm/Intrinsics.h
Nate Begeman
natebegeman at mac.com
Fri Jan 13 17:25:39 PST 2006
Changes in directory llvm/include/llvm:
Intrinsics.h updated: 1.34 -> 1.35
---
Log message:
Add bswap intrinsics as documented in the Language Reference
---
Diffs of the changes: (+10 -8)
Intrinsics.h | 18 ++++++++++--------
1 files changed, 10 insertions(+), 8 deletions(-)
Index: llvm/include/llvm/Intrinsics.h
diff -u llvm/include/llvm/Intrinsics.h:1.34 llvm/include/llvm/Intrinsics.h:1.35
--- llvm/include/llvm/Intrinsics.h:1.34 Thu Jan 12 20:15:02 2006
+++ llvm/include/llvm/Intrinsics.h Fri Jan 13 19:25:24 2006
@@ -58,19 +58,21 @@
dbg_func_start, // Start of a function
dbg_declare, // Declare a local object
-
- // Standard libc functions.
+ // Standard C library intrinsics.
memcpy, // Copy non-overlapping memory blocks
memmove, // Copy potentially overlapping memory blocks
memset, // Fill memory with a byte value
-
- // libm related functions.
isunordered, // Return true if either argument is a NaN
- ctpop, //count population
- ctlz, //count leading zeros
- cttz, //count trailing zeros
- sqrt, //square root
+ sqrt, // Square root
+ // Bit manipulation instrinsics.
+ bswap_i16, // Byteswap 16 bits
+ bswap_i32, // Byteswap 32 bits
+ bswap_i64, // Byteswap 64 bits
+ ctpop, // Count population
+ ctlz, // Count leading zeros
+ cttz, // Count trailing zeros
+
// Input/Output intrinsics.
readport,
writeport,
More information about the llvm-commits
mailing list