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

Comparing libecb/Changes (file contents):
Revision 1.7 by root, Tue May 29 17:17:56 2012 UTC vs.
Revision 1.8 by root, Wed Sep 26 19:00:38 2012 UTC

11TODO: examples from X for clz/ctz 11TODO: examples from X for clz/ctz
12TODO: arithmetic right shift 12TODO: arithmetic right shift
13TODO: template/generic functions for x32/x64 and so on 13TODO: template/generic functions for x32/x64 and so on
14TODO: #define ecb_integer_multiples_of(n,d) ((char (*)[d])(n) - (char (*)[d])0) 14TODO: #define ecb_integer_multiples_of(n,d) ((char (*)[d])(n) - (char (*)[d])0)
15TODO: generalised shift 15TODO: generalised shift
16TODO: #define ECB_FAST_UNALIGNED_ACCESS
16unsigned long gensh(unsigned long v, int x) { 17unsigned long gensh(unsigned long v, int x) {
17int a, b; 18int a, b;
18 a = (v << x) & -(((unsigned int)x) < 32); 19 a = (v << x) & -(((unsigned int)x) < 32);
19 x = -x; 20 x = -x;
20 b = (v >> x) & -(((unsigned int)x) < 32); 21 b = (v >> x) & -(((unsigned int)x) < 32);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines