History log of /llvm-project/libc/test/include/stdbit_test.cpp (Results 1 – 22 of 22)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: llvmorg-21-init
# 1dbc9829 14-Jan-2025 Roland McGrath <mcgrathr@google.com>

[libc] Fix SPDX-License-Identifier file header comment typos (#122776)


Revision tags: llvmorg-19.1.7, llvmorg-19.1.6, llvmorg-19.1.5, llvmorg-19.1.4, llvmorg-19.1.3, llvmorg-19.1.2, llvmorg-19.1.1, llvmorg-19.1.0, llvmorg-19.1.0-rc4, llvmorg-19.1.0-rc3, llvmorg-19.1.0-rc2, llvmorg-19.1.0-rc1, llvmorg-20-init, 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


# a25fa92d 11-Mar-2024 lntue <35648136+lntue@users.noreply.github.com>

[libc][stdbit] Add C tests for stdbit generic macros. (#84670)

Currently there is no tests for generic macros of generated `stdbit.h`
header in C, and it is easy to make typo mistakes as in
https:

[libc][stdbit] Add C tests for stdbit generic macros. (#84670)

Currently there is no tests for generic macros of generated `stdbit.h`
header in C, and it is easy to make typo mistakes as in
https://github.com/llvm/llvm-project/issues/84658. In this patch, we
add a simple test for them in C.

show more ...


# 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.


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)


# 93e423f1 04-Mar-2024 Nick Desaulniers <nickdesaulniers@users.noreply.github.com>

[libc][test] update constants used in stdbit test (#83893)

Either:
- I forgot my alphabet (that E comes before F).
- My juvenile inner brain finds unsigned literal constants with the sequence FU
f

[libc][test] update constants used in stdbit test (#83893)

Either:
- I forgot my alphabet (that E comes before F).
- My juvenile inner brain finds unsigned literal constants with the sequence FU
funny.

¿Por qué no los dos?

show more ...


# 73aab2f6 29-Feb-2024 lntue <35648136+lntue@users.noreply.github.com>

[libc] Revert https://github.com/llvm/llvm-project/pull/83199 since it broke Fuchsia. (#83374)

With some header fix forward for GPU builds.


# 04e8653f 27-Feb-2024 Joseph Huber <huberjn@outlook.com>

[libc] Add "include/" to the LLVM include directories (#83199)

Summary:
Recent changes added an include path in the float128 type that used the
internal `libc` path to find the macro. This doesn't w

[libc] Add "include/" to the LLVM include directories (#83199)

Summary:
Recent changes added an include path in the float128 type that used the
internal `libc` path to find the macro. This doesn't work once it's
installed because we need to search from the root of the install dir.
This patch adds "include/" to the include path so that our inclusion
of installed headers always match the internal use.

show more ...


# 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.


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

[libc] fix stdbit include test when not all entrypoints are available (#80323)

The intent of the test is to check that: 1. The type generic macros are
defined. 2. Those macros dispatch to the correc

[libc] fix stdbit include test when not all entrypoints are available (#80323)

The intent of the test is to check that: 1. The type generic macros are
defined. 2. Those macros dispatch to the correct underlying function.

The issue is that when new functionality is added to our stdbit.h without
rolling out the new entrypoint to all targets, this test breaks because our
generated stdbit.h will not contain declarations for the underlying function.
In that case, we should just declare the underlying functions first before
including our generated stdbit.h which just contains declarations. A definition
is a declaration, but redeclarations must match, hence the additions of
noexcept and extern "C".

show more ...


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

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


# 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 ...