ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libecb/Changes
(Generate patch)

Comparing libecb/Changes (file contents):
Revision 1.5 by root, Mon May 28 08:28:26 2012 UTC vs.
Revision 1.6 by root, Mon May 28 08:40:25 2012 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines