180839c960
bug.h revamp, easier to use
2024-07-15 08:18:35 +02:00
a48ebf9099
Makefile: add 'build=' option. bug.h: numeric {BUG,WARN}_ON
2024-07-10 07:34:05 +02:00
553dc6bd07
del useless unlikely()
2024-06-23 07:32:22 +02:00
7bedfddfba
allow bug.h re-inclusion
2024-05-18 13:30:46 +02:00
8ff163dcf5
add stdlib in brlib.h (unexplained error in __abs_choose_expr)
2024-03-07 22:51:48 +01:00
9162db31e3
add -DBUG_ON -DWARN_ON to enable/disable bug_on()/warn_on()
2024-02-26 19:09:15 +01:00
24baf3524a
switch to -O3
2024-02-23 05:47:23 +01:00
f9aec10459
add bswap32/bswap64
2024-02-13 19:37:18 +01:00
0e9b25dd68
warn(): vprintf -> fprintf
2024-02-07 22:13:10 +01:00
8cb08dacb3
fix bug() args
2024-02-07 19:29:49 +01:00
e907c81b8b
lowercase bug() and warn() functions
2024-02-07 19:03:50 +01:00
b637146095
br.h -> brlib.h
2024-02-05 14:08:28 +01:00
635e4c8d9e
improve README, remove some Makefile compile output
2024-02-05 07:51:05 +01:00
e55ac95301
fix (another) git URI
2024-01-13 15:57:55 +01:00
2262cc7393
fix git https:// URI
2024-01-13 14:28:45 +01:00
32fd923192
move cutest_bfe data to first set
2024-01-13 10:59:24 +01:00
a8a82a3121
Makefile: fix bin generation
2024-01-13 10:58:08 +01:00
5e88bad291
clearer install instructions
2024-01-13 10:57:22 +01:00
f29821ee94
add generic-ilog2.h (for reference)
2024-01-13 10:56:48 +01:00
142f2d44c6
change submodule URI to relative
2024-01-12 18:02:57 +01:00
e49c35dde9
Add cutest submodule
2024-01-12 13:55:09 +01:00
c2ad81b2b5
add CuTest / update README
2024-01-11 11:40:36 +01:00
20e0c4d9fc
add COPYING, README, and Emacs' dir-locals file
2024-01-07 14:16:30 +01:00
3c7222954e
re-arrange Makefile, and cleanup Emacs/ccls part
v0.3
2024-01-06 18:24:17 +01:00
2c95124020
bitops: all macros (hmmm, mistake ?), more tests
2024-01-06 18:23:29 +01:00
459f18a019
Fix loop in test_popcount
2024-01-04 09:01:12 +01:00
0dcca10559
bits.h -> bitops.h, start bitops refactor: target all implem. visible
2024-01-03 19:13:44 +01:00
b63a5cceda
Makefile: add /tests bin generation
2024-01-03 19:11:20 +01:00
2bab5c9d2c
add env script, and (stupid) draft tests
2024-01-03 19:09:17 +01:00
a41ca50404
debug: add func desc in debug.h
2024-01-03 19:06:52 +01:00
7bba3c559b
*BREAKING changes*: func naming, types moved to br.h, etc...
...
- int types definitions moved to br.h
- bits_implementation() -> print_bitops_impl()
- 64 bitops use ...ll builtins instead of ...l
- add lsb and msb macros
- bit_for_each -> bit_for_each_1 (count from 1)
- bit_for_each_2 -> bit_for_each (count from 0)
v0.2
2024-01-01 08:40:24 +01:00
8007299886
silent $(AR)
v0.1
2023-12-30 12:31:59 +01:00
bb8509fc00
shared lib: use all objects.
2023-12-30 11:47:34 +01:00
d654b4acde
add list_sort
2023-12-29 17:22:28 +01:00
97d6570be7
.gitignore
2023-12-24 18:51:19 +01:00
8f4f571450
update Makefile & mandatory emacs files
2023-12-24 18:46:09 +01:00
f9318ce49b
brlib repo creation
2023-12-24 18:17:38 +01:00
e794bdf9c4
cleanup
2023-12-24 17:38:53 +01:00
f4fddd81d8
move debug.h & pool.h main() to test dir (unmodified, can't compile)
2023-12-24 17:37:27 +01:00
2c36a87ecf
brlib Makefile
2023-12-22 11:26:32 +01:00
f1eb0341fa
revert lost changes
2023-12-22 11:24:13 +01:00
c55d23b23e
Merge branch 'sep-brlib' of git.raoult.com:bruno/Tools into sep-brlib
2023-12-22 11:16:24 +01:00
a728306dd5
make brlib sources to new dir
2023-12-22 11:14:16 +01:00
2d5a20c906
mkve brlib sources to new dir
2023-12-22 10:57:56 +01:00
6d635163d8
debug.c: remove dependancies from bits.h
2023-12-22 10:37:49 +01:00
0a83c5d93d
debug.c: remove dependancies from bits.h
2023-12-22 10:32:22 +01:00
8f1818c9e8
bits.[ch]: remove logs in macros (moved to bits.c)
2023-12-16 17:05:07 +01:00
0de2befedc
debug.[ch]: remove dependancies from bits.h
2023-12-16 16:55:29 +01:00
4e0a59019c
Fix invalid fonction definition with unnamed param
2023-06-22 15:17:56 +02:00
318a68c208
move typedefs alltogether
2023-06-22 15:17:32 +02:00