[ccan] [PATCH v2 0/2] maskn and bitops: new modules
Cody P Schafer
dev at codyps.com
Thu Jul 10 11:49:42 EST 2014
Since v1:
- configurator tweaks
- use c99+ inline + extern inline
- This causes ccanlint to be unhappy with me
- documentation added
- _info fixes
I've also put together a bitops that uses macro overriding similar to ilog.
I'd rather have the c99 inline/extern inline stuff, but ccanlint needs some
tweaking (c99 by default? test with multiple standards?).
Also, despite me saying the "fls_m1_32()" from the first patchset should have
been named ffs*, it is actuall supposed to be fls* (too much second guessing).
--
Cody P Schafer (2):
configurator: add BUILTIN_CTZ*, BUILTIN_FFS, and ICCARM_INTRINSICS
maskn & bitops: add new modules
Makefile-ccan | 2 +
ccan/bitops/LICENSE | 1 +
ccan/bitops/_info | 30 +++++++
ccan/bitops/bitops.c | 10 +++
ccan/bitops/bitops.h | 160 ++++++++++++++++++++++++++++++++++++++
ccan/bitops/builtin.h | 39 ++++++++++
ccan/bitops/test/run.c | 32 ++++++++
ccan/maskn/LICENSE | 1 +
ccan/maskn/_info | 44 +++++++++++
ccan/maskn/maskn.c | 36 +++++++++
ccan/maskn/maskn.h | 70 +++++++++++++++++
ccan/maskn/test/run.c | 37 +++++++++
tools/configurator/configurator.c | 13 ++++
13 files changed, 475 insertions(+)
create mode 120000 ccan/bitops/LICENSE
create mode 100644 ccan/bitops/_info
create mode 100644 ccan/bitops/bitops.c
create mode 100644 ccan/bitops/bitops.h
create mode 100644 ccan/bitops/builtin.h
create mode 100644 ccan/bitops/test/run.c
create mode 120000 ccan/maskn/LICENSE
create mode 100644 ccan/maskn/_info
create mode 100644 ccan/maskn/maskn.c
create mode 100644 ccan/maskn/maskn.h
create mode 100644 ccan/maskn/test/run.c
--
2.0.1
More information about the ccan
mailing list