[libc] Add Uint128 type as a fallback when __uint128_t is not available.
authorSiva Chandra Reddy <sivachandra@google.com>
Tue, 21 Jun 2022 18:14:13 +0000 (18:14 +0000)
committerSiva Chandra Reddy <sivachandra@google.com>
Fri, 24 Jun 2022 16:03:35 +0000 (16:03 +0000)
commit300f8da8e8682cbd881f1874801f59ed804e3560
treebfad8bd97c48b0d5bfd29a7d1c67a35999fbf07b
parent056d63938a6f2ea6af9fb0934702dc664ee784e5
[libc] Add Uint128 type as a fallback when __uint128_t is not available.

Also, the unused specializations of __int128_t have been removed.

Differential Revision: https://reviews.llvm.org/D128304
27 files changed:
libc/src/__support/CMakeLists.txt
libc/src/__support/CPP/CMakeLists.txt
libc/src/__support/CPP/Limits.h
libc/src/__support/CPP/TypeTraits.h
libc/src/__support/CPP/UInt.h
libc/src/__support/CPP/UInt128.h [new file with mode: 0644]
libc/src/__support/FPUtil/CMakeLists.txt
libc/src/__support/FPUtil/FloatProperties.h
libc/src/__support/FPUtil/Hypot.h
libc/src/__support/FPUtil/generic/CMakeLists.txt
libc/src/__support/FPUtil/generic/FMA.h
libc/src/__support/FPUtil/generic/sqrt.h
libc/src/__support/FPUtil/generic/sqrt_80_bit_long_double.h
libc/src/__support/FPUtil/x86_64/LongDoubleBits.h
libc/src/__support/str_to_float.h
libc/test/src/__support/CMakeLists.txt
libc/test/src/__support/CPP/CMakeLists.txt
libc/test/src/__support/CPP/limits_test.cpp
libc/test/src/__support/high_precision_decimal_test.cpp
libc/test/src/__support/str_to_float_test.cpp
libc/test/src/__support/uint128_test.cpp
libc/test/src/stdlib/CMakeLists.txt
libc/test/src/stdlib/strtold_test.cpp
libc/utils/UnitTest/CMakeLists.txt
libc/utils/UnitTest/LibcTest.cpp
libc/utils/UnitTest/PrintfMatcher.cpp
utils/bazel/llvm-project-overlay/libc/BUILD.bazel