llvm-project/libc
Siva Chandra Reddy 2e9c75daff [libc] Use __builtin_ctzll instead of __builtin_ctzl in elements_x86.h.
__builtin_ctzl takes an unsigned long argument which need not be 64-bit
long on all platforms. Using __builtin_ctzll, which takes an unsigned
long long argument, ensures that 64-bit values will be handled on a
wider range of platforms.

Without this change, the test corresponding to M512 fails in Windows.

Reviewed By: gchatelet

Differential Revision: https://reviews.llvm.org/D104897
2021-06-25 22:58:13 +00:00
..
AOR_v20.02 Harmonize Python shebang 2020-07-16 21:53:45 +02:00
benchmarks [libc] add benchmarks for memcmp and bzero 2021-06-23 14:19:40 +00:00
cmake/modules [libc] Simplifies multi implementations 2021-05-12 07:24:53 +00:00
config [libc] Add implementation of expm1f. 2021-06-10 14:58:34 -04:00
docs [libc] Add documentation for clang-tidy checks. 2020-07-06 18:15:35 -07:00
fuzzing [libc] Remove libc-fuzzer as a dependency to check-libc. 2021-06-10 05:06:03 +00:00
include [libc][NFC][Obvious] Add a missing dep. 2021-01-18 22:04:20 -08:00
lib [libc] Add a target "install-llvmlibc" to install LLVM libc static archive. 2021-03-22 04:45:14 +00:00
loader [libc] Normalize LIBC_TARGET_MACHINE 2021-05-05 15:52:42 +00:00
spec [libc] Add implementation of expm1f. 2021-06-10 14:58:34 -04:00
src [libc] Use __builtin_ctzll instead of __builtin_ctzl in elements_x86.h. 2021-06-25 22:58:13 +00:00
test [libc] Add a set of elementary operations 2021-06-16 12:11:45 +00:00
utils [libc] Calculate ulp error after rounding MPFR result to the result type. 2021-06-23 20:29:46 +00:00
CMakeLists.txt [libc] Allow target architecture customization 2021-05-10 07:53:48 +00:00
LICENSE.TXT Rename top-level LICENSE.txt files to LICENSE.TXT 2021-03-10 21:26:24 -08:00
README.txt

README.txt

LLVM libc
=========

This directory and its subdirectories contain source code for llvm-libc,
a retargetable implementation of the C standard library.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.