ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libecb/Changes
Revision: 1.6
Committed: Mon May 28 08:40:25 2012 UTC (12 years, 1 month ago) by root
Branch: MAIN
Changes since 1.5: +5 -3 lines
Log Message:
*** empty log message ***

File Contents

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