History log of /llvm-project/libc/cmake/modules/CheckCompilerFeatures.cmake (Results 1 – 13 of 13)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: llvmorg-21-init, llvmorg-19.1.7
# abd91023 26-Dec-2024 Shourya Goel <shouryagoel10000@gmail.com>

[libc][complex] add cfloat16 and cfloat128 compiler flags (#121140)

Proper fix for the temporary fix in #114696


Revision tags: llvmorg-19.1.6, llvmorg-19.1.5, llvmorg-19.1.4, llvmorg-19.1.3, llvmorg-19.1.2, llvmorg-19.1.1
# 127349fc 23-Sep-2024 OverMighty <its.overmighty@gmail.com>

[libc][math] Add floating-point cast independent of compiler runtime (#105152)

Fixes build and tests with compiler-rt on x86.


Revision tags: llvmorg-19.1.0, llvmorg-19.1.0-rc4, llvmorg-19.1.0-rc3, llvmorg-19.1.0-rc2, llvmorg-19.1.0-rc1
# 81ce7960 25-Jul-2024 OverMighty <its.overmighty@gmail.com>

[libc][math][c23] Enable C23 _Float16 math functions on GPUs (#99248)


# e7f8d4be 23-Jul-2024 OverMighty <its.overmighty@gmail.com>

[libc][math] Optimize maximum and minimum functions using builtins when available (#100002)


Revision tags: llvmorg-20-init
# 4531f82c 15-Jul-2024 OverMighty <its.overmighty@gmail.com>

[libc][math] Optimize nearest integer functions using builtins when available (#98376)


# b8bbc57b 02-Jul-2024 Petr Hosek <phosek@google.com>

[libc] Use -nostdlibinc in the full build mode (#97461)

This avoids accidentally including system headers.


Revision tags: llvmorg-18.1.8, llvmorg-18.1.7
# 0eb9e021 30-May-2024 OverMighty <its.overmighty@gmail.com>

[libc][math][c23] Add fabsf16 C23 math function (#93567)

cc @lntue


Revision tags: llvmorg-18.1.6, llvmorg-18.1.5, llvmorg-18.1.4, llvmorg-18.1.3, llvmorg-18.1.2, llvmorg-18.1.1
# 75fb825b 29-Feb-2024 Guillaume Chatelet <gchatelet@google.com>

[libc][NFC] Rename `LIBC_COMPILER_HAS_FLOAT128` to `LIBC_TYPES_HAS_FLOAT128` (#83395)

Umbrella bug #83182


Revision tags: llvmorg-18.1.0, llvmorg-18.1.0-rc4
# 69c0b2fe 23-Feb-2024 Joseph Huber <huberjn@outlook.com>

[libc][NFC] Remove all trailing spaces from libc (#82831)

Summary:
There are a lot of random training spaces on various lines. This patch
just got rid of all of them with `sed 's/\ \+$//g'.


Revision tags: llvmorg-18.1.0-rc3
# 84277fe9 13-Feb-2024 lntue <35648136+lntue@users.noreply.github.com>

[libc][stdfix] Generate stdfix.h header with fixed point precision macros according to ISO/IEC TR 18037:2008 standard, and add fixed point type support detection. (#81255)

Fixed point extension stan

[libc][stdfix] Generate stdfix.h header with fixed point precision macros according to ISO/IEC TR 18037:2008 standard, and add fixed point type support detection. (#81255)

Fixed point extension standard:
https://standards.iso.org/ittf/PubliclyAvailableStandards/c051126_ISO_IEC_TR_18037_2008.zip

show more ...


Revision tags: llvmorg-18.1.0-rc2, llvmorg-18.1.0-rc1, llvmorg-19-init
# 029bfd63 23-Jan-2024 lntue <35648136+lntue@users.noreply.github.com>

[libc] Replace -nostdlib++ flag when building with gcc and add placement new operator to HermeticTestUtils.cpp. (#78906)

`-nostdlib++` is a clang-only flag. Replacing it with `-nostdlib` when
build

[libc] Replace -nostdlib++ flag when building with gcc and add placement new operator to HermeticTestUtils.cpp. (#78906)

`-nostdlib++` is a clang-only flag. Replacing it with `-nostdlib` when
building with gcc.

show more ...


# 1d5c16d7 22-Jan-2024 Nick Desaulniers <nickdesaulniers@users.noreply.github.com>

[libc] default enable -ftrivial-auto-var-init=pattern (#78776)

Usage of uninitialized memory is a top memory safety issue in C++ codebases.
Help mitigate this somewhat by default initialize stack al

[libc] default enable -ftrivial-auto-var-init=pattern (#78776)

Usage of uninitialized memory is a top memory safety issue in C++ codebases.
Help mitigate this somewhat by default initialize stack allocations to a
pattern (0xAA repeating).

Clang has received optimizations to sink these into control flow paths that
access such values to minimize the overhead of these added initializations.

If there's a measurable slowdown, we can add
-ftrivial-auto-var-init-max-size=<N> for some value N bytes if we have any
large stack allocations, or add attribute uninitialized to any variable
declarations.

Unsupported until GCC 12.1 / Clang 8.

Increases file size of libc.a from a full build by +8.79Ki (+0.2%).

show more ...


Revision tags: llvmorg-17.0.6, llvmorg-17.0.5
# 3f906f51 10-Nov-2023 lntue <35648136+lntue@users.noreply.github.com>

[libc][math] Add initial support for C23 float128 math functions, starting with copysignf128. (#71731)