ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libecb/Changes
Revision: 1.10
Committed: Thu Sep 5 18:44:29 2013 UTC (10 years, 10 months ago) by root
Branch: MAIN
Changes since 1.9: +1 -0 lines
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 root 1.6 0x00010001
2     - add ecb_is_pot32/64.
3     - add intptr_t/uintptr_t.
4     - add ECB_PTRSIZE.
5 root 1.7 - more macros for C/C++ version checks.
6     - support C11 atomics for memory fences.
7     - support gcc-4.7 atomics for memory fences.
8 root 1.10 - support m68k, m88k and sh (patch by Miod Vallat).
9 root 1.6
10 root 1.9 TODO: ecb_restrict_array etc. http://ue.tst.eu/5093eafd713ec5fda776d8065070aa4c.txt
11 root 1.1 TODO: ffs/clz
12     64 bit variants of everything
13 root 1.2 TODO: examples from X for clz/ctz
14 root 1.3 TODO: arithmetic right shift
15     TODO: template/generic functions for x32/x64 and so on
16 root 1.4 TODO: #define ecb_integer_multiples_of(n,d) ((char (*)[d])(n) - (char (*)[d])0)
17 root 1.3 TODO: generalised shift
18 root 1.8 TODO: #define ECB_FAST_UNALIGNED_ACCESS
19 root 1.3 unsigned long gensh(unsigned long v, int x) {
20     int a, b;
21     a = (v << x) & -(((unsigned int)x) < 32);
22     x = -x;
23     b = (v >> x) & -(((unsigned int)x) < 32);
24     return a|b;
25     }