[libc-commits] [PATCH] D152459: [libc] Add Int<> type and fix (U)Int<128> compatibility issues.
Tue Ly via Phabricator via libc-commits
libc-commits at lists.llvm.org
Thu Jun 8 10:29:02 PDT 2023
lntue created this revision.
lntue added reviewers: michaelrj, sivachandra, mikhail.ramalho.
Herald added projects: libc-project, All.
lntue requested review of this revision.
Add Int<> and Int128 types to replace the usage of __int128_t in math
functions. Clean up to make sure that (U)Int128 and __(u)int128_t are
interchangeable in the code base.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D152459
Files:
libc/src/__support/FPUtil/generic/sqrt_80_bit_long_double.h
libc/src/__support/FPUtil/x86_64/LongDoubleBits.h
libc/src/__support/UInt.h
libc/src/__support/UInt128.h
libc/src/__support/float_to_string.h
libc/src/__support/integer_to_string.h
libc/src/__support/str_to_float.h
libc/src/math/generic/CMakeLists.txt
libc/src/math/generic/log_range_reduction.h
libc/src/stdio/printf_core/char_converter.h
libc/src/stdio/printf_core/float_dec_converter.h
libc/src/stdio/printf_core/float_hex_converter.h
libc/src/stdio/printf_core/float_inf_nan_converter.h
libc/src/stdio/printf_core/int_converter.h
libc/test/UnitTest/LibcTest.cpp
libc/test/src/__support/uint_test.cpp
libc/test/src/math/CeilTest.h
libc/test/src/math/CopySignTest.h
libc/test/src/math/FAbsTest.h
libc/test/src/math/FDimTest.h
libc/test/src/math/FMaxTest.h
libc/test/src/math/FMinTest.h
libc/test/src/math/FloorTest.h
libc/test/src/math/FmaTest.h
libc/test/src/math/FrexpTest.h
libc/test/src/math/HypotTest.h
libc/test/src/math/ILogbTest.h
libc/test/src/math/LdExpTest.h
libc/test/src/math/LogbTest.h
libc/test/src/math/ModfTest.h
libc/test/src/math/RIntTest.h
libc/test/src/math/RemQuoTest.h
libc/test/src/math/RoundTest.h
libc/test/src/math/RoundToIntegerTest.h
libc/test/src/math/SqrtTest.h
libc/test/src/math/TruncTest.h
libc/test/src/math/cos_test.cpp
libc/test/src/math/sin_test.cpp
libc/test/src/math/tan_test.cpp
utils/bazel/llvm-project-overlay/libc/BUILD.bazel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152459.529669.patch
Type: text/x-patch
Size: 57584 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230608/cdf9cde4/attachment-0001.bin>
More information about the libc-commits
mailing list