ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libecb/Changes
Revision: 1.5
Committed: Mon May 28 08:28:26 2012 UTC (12 years ago) by root
Branch: MAIN
Changes since 1.4: +2 -0 lines
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 root 1.1 TODO: ffs/clz
2     64 bit variants of everything
3 root 1.2 TODO: examples from X for clz/ctz
4 root 1.3 TODO: arithmetic right shift
5     TODO: bit reversal
6     TODO: template/generic functions for x32/x64 and so on
7 root 1.4 TODO: #define ecb_integer_multiples_of(n,d) ((char (*)[d])(n) - (char (*)[d])0)
8 root 1.5 TODO: is_pot
9     TODO: uintptr_t
10 root 1.3 TODO: generalised shift
11     unsigned long gensh(unsigned long v, int x) {
12     int a, b;
13     a = (v << x) & -(((unsigned int)x) < 32);
14     x = -x;
15     b = (v >> x) & -(((unsigned int)x) < 32);
16     return a|b;
17     }