| [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 | 3 年前 |
| [libc][NFC] Move test related pieces from FPUtil to util/UnitTest. Reviewed By: michaelrj Differential Revision: https://reviews.llvm.org/D112673 | 4 年前 |
| [libc][NFC] Move test related pieces from FPUtil to util/UnitTest. Reviewed By: michaelrj Differential Revision: https://reviews.llvm.org/D112673 | 4 年前 |
| [libc] Add Printf FormatSection Matcher This patch changes the printf parser tests to use a more robust matcher. This allows for better debugging of parsing issues. This does not affect the actual printf code at all, only the tests. Reviewed By: sivachandra, lntue Differential Revision: https://reviews.llvm.org/D124130 | 4 年前 |
| [libc] Add testing macros for errno and floating point exceptions. Add testing macros for errno and floating point exceptions. Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D121235 | 4 年前 |
| [libc] Add Fuchsia implementation of ::testing::Test | 3 年前 |
| [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 | 3 年前 |
| [libc] Add support for enum in EXPECT_EQ | 3 年前 |
| [libc] Add option to run specific tests This addition reads command line input to run specific single tests within a larger call to run all the tests for a particular function. When the user adds a second argument to the command line, the code skips all the tests that don't match the user's specified binary. If the user doesn't specify a test correctly and/or no tests are run, a failure message prints. Reviewed By: sivachandra, aeubanks Differential Revision: https://reviews.llvm.org/D105843 | 4 年前 |
| [libc] Optimized version of memmove This implementation relies on storing data in registers for sizes up to 128B. Then depending on whether dst is less (resp. greater) than src we move data forward (resp. backward) by chunks of 32B. We first make sure one of the pointers is aligned to increase performance on large move sizes. Differential Revision: https://reviews.llvm.org/D114637 | 4 年前 |
| [libc] Optimized version of memmove This implementation relies on storing data in registers for sizes up to 128B. Then depending on whether dst is less (resp. greater) than src we move data forward (resp. backward) by chunks of 32B. We first make sure one of the pointers is aligned to increase performance on large move sizes. Differential Revision: https://reviews.llvm.org/D114637 | 4 年前 |
| [libc] Clean up Windows macros This clean-up removes checks for _WIN64, as the _WIN32 macro returns 1 whenever the compilation targe is 32- or 64-bit ARM. Reviewed By: aeubanks Differential Revision: https://reviews.llvm.org/D106706 | 4 年前 |
| [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 | 3 年前 |
| [libc] Add Printf FormatSection Matcher This patch changes the printf parser tests to use a more robust matcher. This allows for better debugging of parsing issues. This does not affect the actual printf code at all, only the tests. Reviewed By: sivachandra, lntue Differential Revision: https://reviews.llvm.org/D124130 | 4 年前 |
| [libc] NFC: Fix trivial typo in comments, documents, and messages Differential Revision: https://reviews.llvm.org/D77462 | 6 年前 |
| [libc] Add Printf FormatSection Matcher This patch changes the printf parser tests to use a more robust matcher. This allows for better debugging of parsing issues. This does not affect the actual printf code at all, only the tests. Reviewed By: sivachandra, lntue Differential Revision: https://reviews.llvm.org/D124130 | 4 年前 |
| [libc][NFC] add macro for fuchsia to switch test backend to zxtest This moves utils/UnitTest/Test.[h/cpp] to LibcTest.[h/cpp] and adds a new Test.h that acts as a switcher so that Fuchsia can use the zxtest backend for running our tests as part of their build. FuchsiaTest.h is for including fuchsia's zxtest library and anything else needed to make the tests work under fuchsia (currently just undefining the isascii macro for the test). Downstream users, please fix your build instead of reverting. Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D94625 | 5 年前 |