*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)
This commit is contained in:
2024-01-01 08:40:24 +01:00
parent 8007299886
commit 7bba3c559b
3 changed files with 87 additions and 76 deletions

View File

@@ -14,13 +14,7 @@
#include "bits.h"
#include "debug.h"
/**
* bits_implementation - display bitops implementation.
*
* For basic bitops (popcount, ctz, etc...), print the implementation
* (builtin, emulated).
*/
void bits_implementation(void)
void print_bitops_impl(void)
{
log(0, "bitops implementation: ");