History log of /llvm-project/libc/include/llvm-libc-macros/stdbit-macros.h (Results 1 – 18 of 18)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: llvmorg-18.1.8, llvmorg-18.1.7, llvmorg-18.1.6, llvmorg-18.1.5, llvmorg-18.1.4, llvmorg-18.1.3, llvmorg-18.1.2
# f0c0ddae 12-Mar-2024 Nick Desaulniers <nickdesaulniers@users.noreply.github.com>

[libc] implement the final macros for stdbit.h support (#84798)


Relevant sections of n3096:
- 7.18.1p1
- 7.18.2


# 75b0d384 10-Mar-2024 Michael Flanders <mkf727@cs.washington.edu>

[libc][stdbit][c23] adds implementation of `stdc_bit_ceil` functions (#84657)

Closes #84652.

Based on #84233.


# 35b78437 10-Mar-2024 Michael Flanders <mkf727@cs.washington.edu>

[libc][stdbit][c23] fixes typos in bit_width, bit_floor C type-generic macros (#84659)

Fixes #84658.

Assuming these were typos in the first place.

I am unsure of the best way to ensure that bo

[libc][stdbit][c23] fixes typos in bit_width, bit_floor C type-generic macros (#84659)

Fixes #84658.

Assuming these were typos in the first place.

I am unsure of the best way to ensure that both sides of the
preprocessor condition in
`libc/include/llvm-libc-macros/stdbit-macros.h` are tested. Could
someone point me in the right direction for adding test coverage to the
non `__cplusplus` branch? Or maybe it is being tested and I've missed
it.

show more ...


Revision tags: llvmorg-18.1.1
# 101a13df 07-Mar-2024 Nick Desaulniers <nickdesaulniers@users.noreply.github.com>

[libc][stdbit] implement stdc_bit_floor (C23) (#84233)


# 041638c4 05-Mar-2024 Nick Desaulniers <nickdesaulniers@users.noreply.github.com>

[libc][stdbit] implement stdc_bit_width (C23) (#83892)


# 06bcd9da 27-Feb-2024 Nick Desaulniers <nickdesaulniers@users.noreply.github.com>

[libc][stdbit] implement stdc_has_single_bit (C23) (#83168)


Revision tags: llvmorg-18.1.0, llvmorg-18.1.0-rc4
# d8406d48 26-Feb-2024 Nick Desaulniers <nickdesaulniers@users.noreply.github.com>

[libc][stdbit] implement stdc_count_ones (C23) (#82444)


# f70d5c0b 26-Feb-2024 Nick Desaulniers <nickdesaulniers@users.noreply.github.com>

[libc][stdbit] implement stdc_count_zeros (C23) (#82437)


Revision tags: llvmorg-18.1.0-rc3
# 6297479f 14-Feb-2024 Nick Desaulniers <nickdesaulniers@users.noreply.github.com>

[libc][stdbit] implement stdc_first_trailing_one (C23) (#81768)


# 16e7d684 14-Feb-2024 Nick Desaulniers <nickdesaulniers@users.noreply.github.com>

[libc][stdbit] implement stdc_first_trailing_zero (C23) (#81526)


# 60596716 14-Feb-2024 Nick Desaulniers <nickdesaulniers@users.noreply.github.com>

[libc][stdbit] implement stdc_first_leading_one (C23) (#81502)


# d2d6b368 12-Feb-2024 Nick Desaulniers <nickdesaulniers@users.noreply.github.com>

[libc][stdbit] implement stdc_first_leading_zero (C23) (#81340)


# 7760006d 07-Feb-2024 Nick Desaulniers <nickdesaulniers@users.noreply.github.com>

[libc][stdbit] implement stdc_trailing_ones (C23) (#80459)


Revision tags: llvmorg-18.1.0-rc2
# d5a3de4a 06-Feb-2024 Nick Desaulniers <nickdesaulniers@users.noreply.github.com>

[libc][stdbit] implement stdc_trailing_zeros (C23) (#80344)


# edbd93d3 01-Feb-2024 Nick Desaulniers <nickdesaulniers@users.noreply.github.com>

[libc][stdbit] fix return types (#80337)

All of the functions I've previously implemented return an unsigned int; not
the parameter type.


# 6a3fde6d 01-Feb-2024 Nick Desaulniers <nickdesaulniers@users.noreply.github.com>

[libc] implement stdc_leading_ones (C23) (#80082)


# 5a7a8f73 30-Jan-2024 Nick Desaulniers <nickdesaulniers@users.noreply.github.com>

[libc] fix type generic stdc_leading_zeros for GCC (#79917)

GCC does not support _Generic in C++ mode. Use inline function definitions with
function overloading in __cplusplus mode.


# 7bc5eaa0 29-Jan-2024 Nick Desaulniers <nickdesaulniers@users.noreply.github.com>

[libc] implement stdc_leading_zeros_u* for stdbit.h (#79669)


- stdbit.stdc_leading_zeros_uc
- stdbit.stdc_leading_zeros_us
- stdbit.stdc_leading_zeros_ui
- stdbit.stdc_leading_zeros_ul
- stdbit.std

[libc] implement stdc_leading_zeros_u* for stdbit.h (#79669)


- stdbit.stdc_leading_zeros_uc
- stdbit.stdc_leading_zeros_us
- stdbit.stdc_leading_zeros_ui
- stdbit.stdc_leading_zeros_ul
- stdbit.stdc_leading_zeros_ull

Test via:
$ ninja libc-stdbit-tests libc_include_tests

show more ...