| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[libc][math] Fix subtraction of infinity in fputil::add_or_sub (#152017) Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c23] Add rsqrtf() function (#159615) Closes #159614 **Changes:** - Initial implementation of rsqrt for single precision float **Some small unrelated style changes to this PR (that I missed in my rsqrtf16 PR):** - Added extra - to the top comments to make it look nicer in libc/shared/math/rsqrtf16.h - Put rsqrtf16 inside of libc/src/__support/math/CMakeLists.txt in sorted order - Rearanged libc_math_function rsqrtf16 in Bazel to match alphabetical order | 9 个月前 | |
[libc] Make a couple of math smoke tests more robust. (#120808) Make sure to clear out all FE_ALL_EXCEPT bits both before and after invoking function under test -- otherwise the very first check for the exception bits in the unit test may fail due to bits set prior to test invocation. | 1 年前 | |
[libc][math][c++23] Add {ceil,floor,round,roundeven,trunc}bf16 math functions (#152352) This PR implements the following basic math functions for BFloat16 type along with the tests: - ceilbf16 - floorbf16 - roundbf16 - roundevenbf16 - truncbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc] Fix compilation when long double is used as float128 (#97747) Small patch that fixes the compilation when float128 is a long double, e.g., rv32. It fixes a static_cast, adds a missing %= operator and changes a cast to use get_val() in a test case instead | 2 年前 | |
[libc][math] Fix division by infinity in fputil::div (#152092) Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc] Make fenv and math tests preserve fenv_t state (#89658) This adds a new test fixture class FEnvSafeTest (usable as a base class for other fixtures) that ensures each test doesn't perturb the fenv_t state that the next test will start with. It also provides types and methods tests can use to explicitly wrap code under test either to check that it doesn't perturb the state or to save and restore the state around particular test code. All the fenv and math tests are updated to use this so that none can affect another. Expectations that code under test and/or tests themselves don't perturb state can be added later. | 2 年前 | |
[libc] Move struct Sign into LIBC_NAMESPACE (#110709) The struct Sign should be in the correct namespace. Also update the various tests that use it. | 1 年前 | |
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
[libc] Clean up errno header usage in all remaining math/smoke tests. (#157565) This is a follow-up to #157517, which fixes the remaining math/smoke tests, and changes them to only include hdr/errno_macros.h, as the tests just need the errno values to pass into EXPECT_MATH_ERRO macro. A couple non-mechanical changes include: * slightly better test coverage for some exp/log tests -- that actually validates that errno is set to EDOM or ERANGE for certain inputs; * explicit inclusion of src/__support/libc_errno.h in RoundToIntegerTest template, which still needs to be fixed. With this change there's a single libc_errno usage left: $ grep -lrnH "libc_errno.h" test/src/math/smoke test/src/math/smoke/RoundToIntegerTest.h | 10 个月前 | |
[libc][math][c++23] Add {ceil,floor,round,roundeven,trunc}bf16 math functions (#152352) This PR implements the following basic math functions for BFloat16 type along with the tests: - ceilbf16 - floorbf16 - roundbf16 - roundevenbf16 - truncbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math] Update test/src/math/smoke/FmaTest.h to not rely on compiler runtime. (#159503) | 10 个月前 | |
[libc][math] Add option to set a specific exponent for frexp with Inf/NaN inputs. (#112387) In IEEE 754 and C standards, when calling frexp with Inf/Nan inputs, the exponent result is unspecified. In this case, FreeBSD libc and musl just passthrough exp, while glibc, FreeBSD libm set exp = 0, and MSVC set exp = -1. By default, LLVM libc will passthrough exp just as FreeBSD libc and musl, but we also allow users to explicitly choose the return exp value in this case for compatibility with other libc. Notice that, gcc did generate passthrough exp for frexp(NaN/Inf, exp): https://godbolt.org/z/sM8fEej4E | 1 年前 | |
[libc][math][c++23] Add {,u}fromfp{,x}bf16 math functions (#153992) This PR adds the following basic math functions for BFloat16 type along with the tests: - fromfpbf16 - fromfpxbf16 - ufromfpbf16 - ufromfpxbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c++23] Add {,u}fromfp{,x}bf16 math functions (#153992) This PR adds the following basic math functions for BFloat16 type along with the tests: - fromfpbf16 - fromfpxbf16 - ufromfpbf16 - ufromfpxbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c++23] Add {get,set}payloadbf16 and setpayloadsigbf16 math functions (#153994) This PR adds the following basic math functions for BFloat16 type along with the tests: - getpayloadbf16 - setpayloadbf16 - setpayloadsigbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math] Add tests and fix some issues with FTZ/DAZ modes. (#113744) | 1 年前 | |
[libc] Move struct Sign into LIBC_NAMESPACE (#110709) The struct Sign should be in the correct namespace. Also update the various tests that use it. | 1 年前 | |
| 1 年前 | ||
[libc][math] Implement issignaling[f|l] as a libc math function (#110556) This PR implements the issignaling function as part of the libc math library, addressing the TODO items mentioned in #110011 The addition of this function is crucial for completing the implementation of remaining math macros, as referenced in #109201 | 1 年前 | |
[libc][math][c++23] Add {frexp,ilogb,ldexp,llogb,logb}bf16 math functions (#154427) This PR adds the following basic math functions for BFloat16 type along with the tests: - frexpbf16 - ilobbf16 - ldexpbf16 - llogbbf16 - logbbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
| 2 年前 | ||
[libc][math][c++23] Add {modf,remainder,remquo}bf16 math functions (#154652) This PR adds the following basic math functions for BFloat16 type along with the tests: - modfbf16 - remainderbf16 - remquobf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> Co-authored-by: OverMighty <its.overmighty@gmail.com> | 11 个月前 | |
[libc][math][c++23] Add bf16mul{,f,l,f128} math functions (#152847) This PR adds the following basic math functions for BFloat16 type along with the tests: - bf16mul - bf16mulf - bf16mull - bf16mulf128 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc] Move struct Sign into LIBC_NAMESPACE (#110709) The struct Sign should be in the correct namespace. Also update the various tests that use it. | 1 年前 | |
[libc][math][c++23] Add next{after,down,toward,up}bf16 math functions (#153993) This PR adds the following basic math functions for BFloat16 type along with the tests: - nextafterbf16 - nextdownbf16 - nexttowardbf16 - nextupbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> Co-authored-by: OverMighty <its.overmighty@gmail.com> | 11 个月前 | |
[libc] Make fenv and math tests preserve fenv_t state (#89658) This adds a new test fixture class FEnvSafeTest (usable as a base class for other fixtures) that ensures each test doesn't perturb the fenv_t state that the next test will start with. It also provides types and methods tests can use to explicitly wrap code under test either to check that it doesn't perturb the state or to save and restore the state around particular test code. All the fenv and math tests are updated to use this so that none can affect another. Expectations that code under test and/or tests themselves don't perturb state can be added later. | 2 年前 | |
[libc][math][c++23] Add next{after,down,toward,up}bf16 math functions (#153993) This PR adds the following basic math functions for BFloat16 type along with the tests: - nextafterbf16 - nextdownbf16 - nexttowardbf16 - nextupbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> Co-authored-by: OverMighty <its.overmighty@gmail.com> | 11 个月前 | |
[libc] Make fenv and math tests preserve fenv_t state (#89658) This adds a new test fixture class FEnvSafeTest (usable as a base class for other fixtures) that ensures each test doesn't perturb the fenv_t state that the next test will start with. It also provides types and methods tests can use to explicitly wrap code under test either to check that it doesn't perturb the state or to save and restore the state around particular test code. All the fenv and math tests are updated to use this so that none can affect another. Expectations that code under test and/or tests themselves don't perturb state can be added later. | 2 年前 | |
[libc] Move struct Sign into LIBC_NAMESPACE (#110709) The struct Sign should be in the correct namespace. Also update the various tests that use it. | 1 年前 | |
[libc] Move struct Sign into LIBC_NAMESPACE (#110709) The struct Sign should be in the correct namespace. Also update the various tests that use it. | 1 年前 | |
[libc][math][c23] Add {ceil,floor,round,roundeven,trunc}f16 C23 math functions (#94001) | 2 年前 | |
[libc][math][c++23] Add {ceil,floor,round,roundeven,trunc}bf16 math functions (#152352) This PR implements the following basic math functions for BFloat16 type along with the tests: - ceilbf16 - floorbf16 - roundbf16 - roundevenbf16 - truncbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][NFC] Remove usage of the C keyword I. (#160567) | 10 个月前 | |
| 2 年前 | ||
[libc][math][c++23] Add {get,set}payloadbf16 and setpayloadsigbf16 math functions (#153994) This PR adds the following basic math functions for BFloat16 type along with the tests: - getpayloadbf16 - setpayloadbf16 - setpayloadsigbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c++23] Add {get,set}payloadbf16 and setpayloadsigbf16 math functions (#153994) This PR adds the following basic math functions for BFloat16 type along with the tests: - getpayloadbf16 - setpayloadbf16 - setpayloadsigbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math] Improve the performance of sqrtf128. (#122578) Use a combination of polynomial approximation and Newton-Raphson iterations in 64-bit and 128-bit integers to improve the performance of sqrtf128. The correct rounding is provided by squaring the result and comparing it with the argument. Performance improvement using the newly added perf test: - My function = the improved implementation from this PR - Other function = current implementation using libc/src/__support/FPUtil/generic/sqrt.h Performance tests with inputs in denormal range: -- My function -- Total time : 1260765265 ns Average runtime : 125.951 ns/op Ops per second : 7939623 op/s -- Other function -- Total time : 7160726518 ns Average runtime : 715.357 ns/op Ops per second : 1397902 op/s -- Average runtime ratio -- Mine / Other's : 0.176067 Performance tests with inputs in normal range: -- My function -- Total time : 373003808 ns Average runtime : 37.2631 ns/op Ops per second : 26836189 op/s -- Other function -- Total time : 7353398916 ns Average runtime : 734.605 ns/op Ops per second : 1361275 op/s -- Average runtime ratio -- Mine / Other's : 0.0507254 --------- Co-authored-by: Alexei Sibidanov <sibid@uvic.ca> | 1 年前 | |
[libc][math] Fix subtraction of infinity in fputil::add_or_sub (#152017) Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][test] Remove more unused nan variables (#155925) These are redefined/shadowed by the if constexpr (FPBits::FRACTION_LEN - 1 >= 5) case below. Added by https://github.com/llvm/llvm-project/pull/155569. I missed these ones in #155894. | 11 个月前 | |
| 11 个月前 | ||
[libc][math][c++23] Add {ceil,floor,round,roundeven,trunc}bf16 math functions (#152352) This PR implements the following basic math functions for BFloat16 type along with the tests: - ceilbf16 - floorbf16 - roundbf16 - roundevenbf16 - truncbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c++23] Add {,u}fromfp{,x}bf16 math functions (#153992) This PR adds the following basic math functions for BFloat16 type along with the tests: - fromfpbf16 - fromfpxbf16 - ufromfpbf16 - ufromfpxbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c++23] Add {,u}fromfp{,x}bf16 math functions (#153992) This PR adds the following basic math functions for BFloat16 type along with the tests: - fromfpbf16 - fromfpxbf16 - ufromfpbf16 - ufromfpxbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc] Clean up errno header usage in a few math/smoke tests. (#157517) Most of the unit tests don't (or don't need to) read/write libc_errno code directly - it's cleared by the ErrnoCheckingTest harness, and is verified by framework-provided scripts such as EXPECT_MATH_ERRNO. Use the following rule of thumb for header inclusion: * if you use libc_errno in code literally, include src/__support/libc_errno.h * if you only rely on errno constants, include hdr/errno_macros.h This PR only updates a few tests for acos/asin variants, as a proof-of-concept. If it goes in, a follow-up PR would update the rest. | 10 个月前 | |
[libc] Clean up errno header usage in a few math/smoke tests. (#157517) Most of the unit tests don't (or don't need to) read/write libc_errno code directly - it's cleared by the ErrnoCheckingTest harness, and is verified by framework-provided scripts such as EXPECT_MATH_ERRNO. Use the following rule of thumb for header inclusion: * if you use libc_errno in code literally, include src/__support/libc_errno.h * if you only rely on errno constants, include hdr/errno_macros.h This PR only updates a few tests for acos/asin variants, as a proof-of-concept. If it goes in, a follow-up PR would update the rest. | 10 个月前 | |
[libc] Clean up errno header usage in a few math/smoke tests. (#157517) Most of the unit tests don't (or don't need to) read/write libc_errno code directly - it's cleared by the ErrnoCheckingTest harness, and is verified by framework-provided scripts such as EXPECT_MATH_ERRNO. Use the following rule of thumb for header inclusion: * if you use libc_errno in code literally, include src/__support/libc_errno.h * if you only rely on errno constants, include hdr/errno_macros.h This PR only updates a few tests for acos/asin variants, as a proof-of-concept. If it goes in, a follow-up PR would update the rest. | 10 个月前 | |
[libc][math] Fix sNaN tests for AArch64 (#159483) Fixes: #134917, https://github.com/llvm/llvm-project/pull/100632#issuecomment-2258772681, #159417 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 10 个月前 | |
[libc] Clean up errno header usage in a few math/smoke tests. (#157517) Most of the unit tests don't (or don't need to) read/write libc_errno code directly - it's cleared by the ErrnoCheckingTest harness, and is verified by framework-provided scripts such as EXPECT_MATH_ERRNO. Use the following rule of thumb for header inclusion: * if you use libc_errno in code literally, include src/__support/libc_errno.h * if you only rely on errno constants, include hdr/errno_macros.h This PR only updates a few tests for acos/asin variants, as a proof-of-concept. If it goes in, a follow-up PR would update the rest. | 10 个月前 | |
[libc][math] Fix sNaN tests for AArch64 (#159483) Fixes: #134917, https://github.com/llvm/llvm-project/pull/100632#issuecomment-2258772681, #159417 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 10 个月前 | |
[libc][math] Fix incorrect logic in fputil::generic::add_or_sub (#116129) Fixes incorrect logic that went unnoticed until the function was tested with output and input types that have the same underlying floating-point format. | 1 年前 | |
[libc] Fix asin_test smoke test for DAZ modes due to mis-optimization on newer clang. (#141996) | 1 年前 | |
[libc] Clean up errno header usage in a few math/smoke tests. (#157517) Most of the unit tests don't (or don't need to) read/write libc_errno code directly - it's cleared by the ErrnoCheckingTest harness, and is verified by framework-provided scripts such as EXPECT_MATH_ERRNO. Use the following rule of thumb for header inclusion: * if you use libc_errno in code literally, include src/__support/libc_errno.h * if you only rely on errno constants, include hdr/errno_macros.h This PR only updates a few tests for acos/asin variants, as a proof-of-concept. If it goes in, a follow-up PR would update the rest. | 10 个月前 | |
[libc] Clean up errno header usage in a few math/smoke tests. (#157517) Most of the unit tests don't (or don't need to) read/write libc_errno code directly - it's cleared by the ErrnoCheckingTest harness, and is verified by framework-provided scripts such as EXPECT_MATH_ERRNO. Use the following rule of thumb for header inclusion: * if you use libc_errno in code literally, include src/__support/libc_errno.h * if you only rely on errno constants, include hdr/errno_macros.h This PR only updates a few tests for acos/asin variants, as a proof-of-concept. If it goes in, a follow-up PR would update the rest. | 10 个月前 | |
[libc] Clean up errno header usage in a few math/smoke tests. (#157517) Most of the unit tests don't (or don't need to) read/write libc_errno code directly - it's cleared by the ErrnoCheckingTest harness, and is verified by framework-provided scripts such as EXPECT_MATH_ERRNO. Use the following rule of thumb for header inclusion: * if you use libc_errno in code literally, include src/__support/libc_errno.h * if you only rely on errno constants, include hdr/errno_macros.h This PR only updates a few tests for acos/asin variants, as a proof-of-concept. If it goes in, a follow-up PR would update the rest. | 10 个月前 | |
[libc] Clean up errno header usage in a few math/smoke tests. (#157517) Most of the unit tests don't (or don't need to) read/write libc_errno code directly - it's cleared by the ErrnoCheckingTest harness, and is verified by framework-provided scripts such as EXPECT_MATH_ERRNO. Use the following rule of thumb for header inclusion: * if you use libc_errno in code literally, include src/__support/libc_errno.h * if you only rely on errno constants, include hdr/errno_macros.h This PR only updates a few tests for acos/asin variants, as a proof-of-concept. If it goes in, a follow-up PR would update the rest. | 10 个月前 | |
[libc][math] Fix sNaN tests for AArch64 (#159483) Fixes: #134917, https://github.com/llvm/llvm-project/pull/100632#issuecomment-2258772681, #159417 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 10 个月前 | |
[libc][math] Fix signaling NaN handling for math functions. (#133347) Add tests for signaling NaNs, and fix function behavior for handling signaling NaN input. Fixes https://github.com/llvm/llvm-project/issues/124812 | 1 年前 | |
[libc][math] Implement a fast pass for atan2f128 with 1ULP error using DyadicFloat<128>. (#133150) Part of https://github.com/llvm/llvm-project/issues/131642. | 1 年前 | |
[libc] Clean up errno header usage in all remaining math/smoke tests. (#157565) This is a follow-up to #157517, which fixes the remaining math/smoke tests, and changes them to only include hdr/errno_macros.h, as the tests just need the errno values to pass into EXPECT_MATH_ERRO macro. A couple non-mechanical changes include: * slightly better test coverage for some exp/log tests -- that actually validates that errno is set to EDOM or ERANGE for certain inputs; * explicit inclusion of src/__support/libc_errno.h in RoundToIntegerTest template, which still needs to be fixed. With this change there's a single libc_errno usage left: $ grep -lrnH "libc_errno.h" test/src/math/smoke test/src/math/smoke/RoundToIntegerTest.h | 10 个月前 | |
[libc][math] Fix signaling NaN handling for math functions. (#133347) Add tests for signaling NaNs, and fix function behavior for handling signaling NaN input. Fixes https://github.com/llvm/llvm-project/issues/124812 | 1 年前 | |
[libc] Clean up errno header usage in all remaining math/smoke tests. (#157565) This is a follow-up to #157517, which fixes the remaining math/smoke tests, and changes them to only include hdr/errno_macros.h, as the tests just need the errno values to pass into EXPECT_MATH_ERRO macro. A couple non-mechanical changes include: * slightly better test coverage for some exp/log tests -- that actually validates that errno is set to EDOM or ERANGE for certain inputs; * explicit inclusion of src/__support/libc_errno.h in RoundToIntegerTest template, which still needs to be fixed. With this change there's a single libc_errno usage left: $ grep -lrnH "libc_errno.h" test/src/math/smoke test/src/math/smoke/RoundToIntegerTest.h | 10 个月前 | |
[libc] Clean up errno header usage in all remaining math/smoke tests. (#157565) This is a follow-up to #157517, which fixes the remaining math/smoke tests, and changes them to only include hdr/errno_macros.h, as the tests just need the errno values to pass into EXPECT_MATH_ERRO macro. A couple non-mechanical changes include: * slightly better test coverage for some exp/log tests -- that actually validates that errno is set to EDOM or ERANGE for certain inputs; * explicit inclusion of src/__support/libc_errno.h in RoundToIntegerTest template, which still needs to be fixed. With this change there's a single libc_errno usage left: $ grep -lrnH "libc_errno.h" test/src/math/smoke test/src/math/smoke/RoundToIntegerTest.h | 10 个月前 | |
[libc] Clean up errno header usage in all remaining math/smoke tests. (#157565) This is a follow-up to #157517, which fixes the remaining math/smoke tests, and changes them to only include hdr/errno_macros.h, as the tests just need the errno values to pass into EXPECT_MATH_ERRO macro. A couple non-mechanical changes include: * slightly better test coverage for some exp/log tests -- that actually validates that errno is set to EDOM or ERANGE for certain inputs; * explicit inclusion of src/__support/libc_errno.h in RoundToIntegerTest template, which still needs to be fixed. With this change there's a single libc_errno usage left: $ grep -lrnH "libc_errno.h" test/src/math/smoke test/src/math/smoke/RoundToIntegerTest.h | 10 个月前 | |
[libc] Clean up errno header usage in all remaining math/smoke tests. (#157565) This is a follow-up to #157517, which fixes the remaining math/smoke tests, and changes them to only include hdr/errno_macros.h, as the tests just need the errno values to pass into EXPECT_MATH_ERRO macro. A couple non-mechanical changes include: * slightly better test coverage for some exp/log tests -- that actually validates that errno is set to EDOM or ERANGE for certain inputs; * explicit inclusion of src/__support/libc_errno.h in RoundToIntegerTest template, which still needs to be fixed. With this change there's a single libc_errno usage left: $ grep -lrnH "libc_errno.h" test/src/math/smoke test/src/math/smoke/RoundToIntegerTest.h | 10 个月前 | |
[libc] Clean up errno header usage in all remaining math/smoke tests. (#157565) This is a follow-up to #157517, which fixes the remaining math/smoke tests, and changes them to only include hdr/errno_macros.h, as the tests just need the errno values to pass into EXPECT_MATH_ERRO macro. A couple non-mechanical changes include: * slightly better test coverage for some exp/log tests -- that actually validates that errno is set to EDOM or ERANGE for certain inputs; * explicit inclusion of src/__support/libc_errno.h in RoundToIntegerTest template, which still needs to be fixed. With this change there's a single libc_errno usage left: $ grep -lrnH "libc_errno.h" test/src/math/smoke test/src/math/smoke/RoundToIntegerTest.h | 10 个月前 | |
[libc][math][c++23] Add bf16{add,sub}{,f,l,f128} math functions (#152774) This PR adds implements following basic math functions for BFloat16 type along with the tests: - bf16add - bf16addf - bf16addl - bf16addf128 - bf16sub - bf16subf - bf16subl - bf16subf128 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c++23] Add bf16{add,sub}{,f,l,f128} math functions (#152774) This PR adds implements following basic math functions for BFloat16 type along with the tests: - bf16add - bf16addf - bf16addl - bf16addf128 - bf16sub - bf16subf - bf16subl - bf16subf128 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c++23] Add bf16{add,sub}{,f,l,f128} math functions (#152774) This PR adds implements following basic math functions for BFloat16 type along with the tests: - bf16add - bf16addf - bf16addl - bf16addf128 - bf16sub - bf16subf - bf16subl - bf16subf128 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c++23] Add bf16{add,sub}{,f,l,f128} math functions (#152774) This PR adds implements following basic math functions for BFloat16 type along with the tests: - bf16add - bf16addf - bf16addl - bf16addf128 - bf16sub - bf16subf - bf16subl - bf16subf128 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c++23] Add bf16div{,f,l,f128} math functions (#153191) This PR adds the following basic math functions for BFloat16 type along with the tests: - bf16div - bf16divf - bf16divl - bf16divf128 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c++23] Add bf16div{,f,l,f128} math functions (#153191) This PR adds the following basic math functions for BFloat16 type along with the tests: - bf16div - bf16divf - bf16divl - bf16divf128 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c++23] Add bf16div{,f,l,f128} math functions (#153191) This PR adds the following basic math functions for BFloat16 type along with the tests: - bf16div - bf16divf - bf16divl - bf16divf128 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c++23] Add bf16div{,f,l,f128} math functions (#153191) This PR adds the following basic math functions for BFloat16 type along with the tests: - bf16div - bf16divf - bf16divl - bf16divf128 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c++23] Add bf16fma{,f,l,f128} math functions (#153231) This PR adds the following basic math functions for BFloat16 type along with the tests: - bf16fma - bf16fmaf - bf16fmal - bf16fmaf128 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c++23] Add bf16fma{,f,l,f128} math functions (#153231) This PR adds the following basic math functions for BFloat16 type along with the tests: - bf16fma - bf16fmaf - bf16fmal - bf16fmaf128 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c++23] Add bf16fma{,f,l,f128} math functions (#153231) This PR adds the following basic math functions for BFloat16 type along with the tests: - bf16fma - bf16fmaf - bf16fmal - bf16fmaf128 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c++23] Add bf16fma{,f,l,f128} math functions (#153231) This PR adds the following basic math functions for BFloat16 type along with the tests: - bf16fma - bf16fmaf - bf16fmal - bf16fmaf128 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c++23] Add bf16mul{,f,l,f128} math functions (#152847) This PR adds the following basic math functions for BFloat16 type along with the tests: - bf16mul - bf16mulf - bf16mull - bf16mulf128 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c++23] Add bf16mul{,f,l,f128} math functions (#152847) This PR adds the following basic math functions for BFloat16 type along with the tests: - bf16mul - bf16mulf - bf16mull - bf16mulf128 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c++23] Add bf16mul{,f,l,f128} math functions (#152847) This PR adds the following basic math functions for BFloat16 type along with the tests: - bf16mul - bf16mulf - bf16mull - bf16mulf128 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c++23] Add bf16mul{,f,l,f128} math functions (#152847) This PR adds the following basic math functions for BFloat16 type along with the tests: - bf16mul - bf16mulf - bf16mull - bf16mulf128 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c++23] Add bf16{add,sub}{,f,l,f128} math functions (#152774) This PR adds implements following basic math functions for BFloat16 type along with the tests: - bf16add - bf16addf - bf16addl - bf16addf128 - bf16sub - bf16subf - bf16subl - bf16subf128 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c++23] Add bf16{add,sub}{,f,l,f128} math functions (#152774) This PR adds implements following basic math functions for BFloat16 type along with the tests: - bf16add - bf16addf - bf16addl - bf16addf128 - bf16sub - bf16subf - bf16subl - bf16subf128 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c++23] Add bf16{add,sub}{,f,l,f128} math functions (#152774) This PR adds implements following basic math functions for BFloat16 type along with the tests: - bf16add - bf16addf - bf16addl - bf16addf128 - bf16sub - bf16subf - bf16subl - bf16subf128 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c++23] Add bf16{add,sub}{,f,l,f128} math functions (#152774) This PR adds implements following basic math functions for BFloat16 type along with the tests: - bf16add - bf16addf - bf16addl - bf16addf128 - bf16sub - bf16subf - bf16subl - bf16subf128 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c++23] Implement basic arithmetic operations for BFloat16 (#151228) This PR implements addition, subtraction, multiplication and division operations for BFloat16. --------- Signed-off-by: krishna2803 <kpandey81930@gmail.com> Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> Co-authored-by: OverMighty <its.overmighty@gmail.com> | 11 个月前 | |
[libc][math][c++23] Implement basic arithmetic operations for BFloat16 (#151228) This PR implements addition, subtraction, multiplication and division operations for BFloat16. --------- Signed-off-by: krishna2803 <kpandey81930@gmail.com> Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> Co-authored-by: OverMighty <its.overmighty@gmail.com> | 11 个月前 | |
[libc][math][c++23] Implement basic arithmetic operations for BFloat16 (#151228) This PR implements addition, subtraction, multiplication and division operations for BFloat16. --------- Signed-off-by: krishna2803 <kpandey81930@gmail.com> Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> Co-authored-by: OverMighty <its.overmighty@gmail.com> | 11 个月前 | |
[libc][math][c++23] Implement basic arithmetic operations for BFloat16 (#151228) This PR implements addition, subtraction, multiplication and division operations for BFloat16. --------- Signed-off-by: krishna2803 <kpandey81930@gmail.com> Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> Co-authored-by: OverMighty <its.overmighty@gmail.com> | 11 个月前 | |
| 2 年前 | ||
[libc][math][c++23] Add {canonicalize,iscanonical,fdim,copysign,issignaling}bf16 math functions (#155567) This PR adds the following basic math functions for BFloat16 type along with the tests: - canonicalizebf16 - iscanonicalbf16 - fdimbf16 - copysignbf16 - issignalingbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
[libc][math] Fix signaling NaN handling for math functions. (#133347) Add tests for signaling NaNs, and fix function behavior for handling signaling NaN input. Fixes https://github.com/llvm/llvm-project/issues/124812 | 1 年前 | |
[libc][math] Fix signaling NaN handling for math functions. (#133347) Add tests for signaling NaNs, and fix function behavior for handling signaling NaN input. Fixes https://github.com/llvm/llvm-project/issues/124812 | 1 年前 | |
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
[libc][math][c++23] Add {ceil,floor,round,roundeven,trunc}bf16 math functions (#152352) This PR implements the following basic math functions for BFloat16 type along with the tests: - ceilbf16 - floorbf16 - roundbf16 - roundevenbf16 - truncbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math] Add float128 rounding functions (ceilf128, floorf128, roundf128, truncf128). (#80634) | 2 年前 | |
[libc][math][c23] Add {ceil,floor,round,roundeven,trunc}f16 C23 math functions (#94001) | 2 年前 | |
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
[libc][math][c++23] Add {canonicalize,iscanonical,fdim,copysign,issignaling}bf16 math functions (#155567) This PR adds the following basic math functions for BFloat16 type along with the tests: - canonicalizebf16 - iscanonicalbf16 - fdimbf16 - copysignbf16 - issignalingbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math] Add initial support for C23 float128 math functions, starting with copysignf128. (#71731) | 2 年前 | |
| 2 年前 | ||
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
[libc][math] Fix signaling NaN handling for math functions. (#133347) Add tests for signaling NaNs, and fix function behavior for handling signaling NaN input. Fixes https://github.com/llvm/llvm-project/issues/124812 | 1 年前 | |
[libc] Clean up errno header usage in all remaining math/smoke tests. (#157565) This is a follow-up to #157517, which fixes the remaining math/smoke tests, and changes them to only include hdr/errno_macros.h, as the tests just need the errno values to pass into EXPECT_MATH_ERRO macro. A couple non-mechanical changes include: * slightly better test coverage for some exp/log tests -- that actually validates that errno is set to EDOM or ERANGE for certain inputs; * explicit inclusion of src/__support/libc_errno.h in RoundToIntegerTest template, which still needs to be fixed. With this change there's a single libc_errno usage left: $ grep -lrnH "libc_errno.h" test/src/math/smoke test/src/math/smoke/RoundToIntegerTest.h | 10 个月前 | |
[libc] Clean up errno header usage in all remaining math/smoke tests. (#157565) This is a follow-up to #157517, which fixes the remaining math/smoke tests, and changes them to only include hdr/errno_macros.h, as the tests just need the errno values to pass into EXPECT_MATH_ERRO macro. A couple non-mechanical changes include: * slightly better test coverage for some exp/log tests -- that actually validates that errno is set to EDOM or ERANGE for certain inputs; * explicit inclusion of src/__support/libc_errno.h in RoundToIntegerTest template, which still needs to be fixed. With this change there's a single libc_errno usage left: $ grep -lrnH "libc_errno.h" test/src/math/smoke test/src/math/smoke/RoundToIntegerTest.h | 10 个月前 | |
[libc] Clean up errno header usage in all remaining math/smoke tests. (#157565) This is a follow-up to #157517, which fixes the remaining math/smoke tests, and changes them to only include hdr/errno_macros.h, as the tests just need the errno values to pass into EXPECT_MATH_ERRO macro. A couple non-mechanical changes include: * slightly better test coverage for some exp/log tests -- that actually validates that errno is set to EDOM or ERANGE for certain inputs; * explicit inclusion of src/__support/libc_errno.h in RoundToIntegerTest template, which still needs to be fixed. With this change there's a single libc_errno usage left: $ grep -lrnH "libc_errno.h" test/src/math/smoke test/src/math/smoke/RoundToIntegerTest.h | 10 个月前 | |
[libc] Clean up errno header usage in all remaining math/smoke tests. (#157565) This is a follow-up to #157517, which fixes the remaining math/smoke tests, and changes them to only include hdr/errno_macros.h, as the tests just need the errno values to pass into EXPECT_MATH_ERRO macro. A couple non-mechanical changes include: * slightly better test coverage for some exp/log tests -- that actually validates that errno is set to EDOM or ERANGE for certain inputs; * explicit inclusion of src/__support/libc_errno.h in RoundToIntegerTest template, which still needs to be fixed. With this change there's a single libc_errno usage left: $ grep -lrnH "libc_errno.h" test/src/math/smoke test/src/math/smoke/RoundToIntegerTest.h | 10 个月前 | |
[libc][math] Fix sNaN tests for AArch64 (#159483) Fixes: #134917, https://github.com/llvm/llvm-project/pull/100632#issuecomment-2258772681, #159417 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 10 个月前 | |
[libc] Clean up errno header usage in all remaining math/smoke tests. (#157565) This is a follow-up to #157517, which fixes the remaining math/smoke tests, and changes them to only include hdr/errno_macros.h, as the tests just need the errno values to pass into EXPECT_MATH_ERRO macro. A couple non-mechanical changes include: * slightly better test coverage for some exp/log tests -- that actually validates that errno is set to EDOM or ERANGE for certain inputs; * explicit inclusion of src/__support/libc_errno.h in RoundToIntegerTest template, which still needs to be fixed. With this change there's a single libc_errno usage left: $ grep -lrnH "libc_errno.h" test/src/math/smoke test/src/math/smoke/RoundToIntegerTest.h | 10 个月前 | |
[libc][math][c23] Add dadd{l,f128} and ddiv{l,f128} C23 math functions (#100456) - fadd removed because I need to add for different input types - finishing rest of basic operations - noticed duplicates will remove --------- Co-authored-by: OverMighty <its.overmighty@gmail.com> | 1 年前 | |
[libc][math][c23] Add dadd{l,f128} and ddiv{l,f128} C23 math functions (#100456) - fadd removed because I need to add for different input types - finishing rest of basic operations - noticed duplicates will remove --------- Co-authored-by: OverMighty <its.overmighty@gmail.com> | 1 年前 | |
[libc][math][c23] Add dadd{l,f128} and ddiv{l,f128} C23 math functions (#100456) - fadd removed because I need to add for different input types - finishing rest of basic operations - noticed duplicates will remove --------- Co-authored-by: OverMighty <its.overmighty@gmail.com> | 1 年前 | |
[libc][math][c23] Add ddivl C23 math function. (#102468) | 1 年前 | |
[libc][math][c23] Add dfma{l,f128} and dsub{l,f128} C23 math functions (#101089) Co-authored-by: OverMighty <its.overmighty@gmail.com> | 1 年前 | |
[libc][math][c23] Add dfma{l,f128} and dsub{l,f128} C23 math functions (#101089) Co-authored-by: OverMighty <its.overmighty@gmail.com> | 1 年前 | |
| 2 年前 | ||
| 2 年前 | ||
[libc][math][c23] Add entrypoints and tests for dsqrt{l,f128} (#99815) | 2 年前 | |
[libc][math][c23] Add entrypoints and tests for dsqrt{l,f128} (#99815) | 2 年前 | |
[libc][math][c23] Add dfma{l,f128} and dsub{l,f128} C23 math functions (#101089) Co-authored-by: OverMighty <its.overmighty@gmail.com> | 1 年前 | |
[libc][math][c23] Add dfma{l,f128} and dsub{l,f128} C23 math functions (#101089) Co-authored-by: OverMighty <its.overmighty@gmail.com> | 1 年前 | |
[libc][NFC] Add stdint.h proxy header to fix dependency issue with <stdint.h> includes. (#150303) https://github.com/llvm/llvm-project/issues/149993 | 1 年前 | |
[libc] Clean up errno header usage in all remaining math/smoke tests. (#157565) This is a follow-up to #157517, which fixes the remaining math/smoke tests, and changes them to only include hdr/errno_macros.h, as the tests just need the errno values to pass into EXPECT_MATH_ERRO macro. A couple non-mechanical changes include: * slightly better test coverage for some exp/log tests -- that actually validates that errno is set to EDOM or ERANGE for certain inputs; * explicit inclusion of src/__support/libc_errno.h in RoundToIntegerTest template, which still needs to be fixed. With this change there's a single libc_errno usage left: $ grep -lrnH "libc_errno.h" test/src/math/smoke test/src/math/smoke/RoundToIntegerTest.h | 10 个月前 | |
[libc] Clean up errno header usage in all remaining math/smoke tests. (#157565) This is a follow-up to #157517, which fixes the remaining math/smoke tests, and changes them to only include hdr/errno_macros.h, as the tests just need the errno values to pass into EXPECT_MATH_ERRO macro. A couple non-mechanical changes include: * slightly better test coverage for some exp/log tests -- that actually validates that errno is set to EDOM or ERANGE for certain inputs; * explicit inclusion of src/__support/libc_errno.h in RoundToIntegerTest template, which still needs to be fixed. With this change there's a single libc_errno usage left: $ grep -lrnH "libc_errno.h" test/src/math/smoke test/src/math/smoke/RoundToIntegerTest.h | 10 个月前 | |
[libc] Clean up errno header usage in all remaining math/smoke tests. (#157565) This is a follow-up to #157517, which fixes the remaining math/smoke tests, and changes them to only include hdr/errno_macros.h, as the tests just need the errno values to pass into EXPECT_MATH_ERRO macro. A couple non-mechanical changes include: * slightly better test coverage for some exp/log tests -- that actually validates that errno is set to EDOM or ERANGE for certain inputs; * explicit inclusion of src/__support/libc_errno.h in RoundToIntegerTest template, which still needs to be fixed. With this change there's a single libc_errno usage left: $ grep -lrnH "libc_errno.h" test/src/math/smoke test/src/math/smoke/RoundToIntegerTest.h | 10 个月前 | |
[libc] Clean up errno header usage in all remaining math/smoke tests. (#157565) This is a follow-up to #157517, which fixes the remaining math/smoke tests, and changes them to only include hdr/errno_macros.h, as the tests just need the errno values to pass into EXPECT_MATH_ERRO macro. A couple non-mechanical changes include: * slightly better test coverage for some exp/log tests -- that actually validates that errno is set to EDOM or ERANGE for certain inputs; * explicit inclusion of src/__support/libc_errno.h in RoundToIntegerTest template, which still needs to be fixed. With this change there's a single libc_errno usage left: $ grep -lrnH "libc_errno.h" test/src/math/smoke test/src/math/smoke/RoundToIntegerTest.h | 10 个月前 | |
[libc] Clean up errno header usage in all remaining math/smoke tests. (#157565) This is a follow-up to #157517, which fixes the remaining math/smoke tests, and changes them to only include hdr/errno_macros.h, as the tests just need the errno values to pass into EXPECT_MATH_ERRO macro. A couple non-mechanical changes include: * slightly better test coverage for some exp/log tests -- that actually validates that errno is set to EDOM or ERANGE for certain inputs; * explicit inclusion of src/__support/libc_errno.h in RoundToIntegerTest template, which still needs to be fixed. With this change there's a single libc_errno usage left: $ grep -lrnH "libc_errno.h" test/src/math/smoke test/src/math/smoke/RoundToIntegerTest.h | 10 个月前 | |
[libc] Clean up errno header usage in all remaining math/smoke tests. (#157565) This is a follow-up to #157517, which fixes the remaining math/smoke tests, and changes them to only include hdr/errno_macros.h, as the tests just need the errno values to pass into EXPECT_MATH_ERRO macro. A couple non-mechanical changes include: * slightly better test coverage for some exp/log tests -- that actually validates that errno is set to EDOM or ERANGE for certain inputs; * explicit inclusion of src/__support/libc_errno.h in RoundToIntegerTest template, which still needs to be fixed. With this change there's a single libc_errno usage left: $ grep -lrnH "libc_errno.h" test/src/math/smoke test/src/math/smoke/RoundToIntegerTest.h | 10 个月前 | |
[libc] Clean up errno header usage in all remaining math/smoke tests. (#157565) This is a follow-up to #157517, which fixes the remaining math/smoke tests, and changes them to only include hdr/errno_macros.h, as the tests just need the errno values to pass into EXPECT_MATH_ERRO macro. A couple non-mechanical changes include: * slightly better test coverage for some exp/log tests -- that actually validates that errno is set to EDOM or ERANGE for certain inputs; * explicit inclusion of src/__support/libc_errno.h in RoundToIntegerTest template, which still needs to be fixed. With this change there's a single libc_errno usage left: $ grep -lrnH "libc_errno.h" test/src/math/smoke test/src/math/smoke/RoundToIntegerTest.h | 10 个月前 | |
[libc] Clean up errno header usage in all remaining math/smoke tests. (#157565) This is a follow-up to #157517, which fixes the remaining math/smoke tests, and changes them to only include hdr/errno_macros.h, as the tests just need the errno values to pass into EXPECT_MATH_ERRO macro. A couple non-mechanical changes include: * slightly better test coverage for some exp/log tests -- that actually validates that errno is set to EDOM or ERANGE for certain inputs; * explicit inclusion of src/__support/libc_errno.h in RoundToIntegerTest template, which still needs to be fixed. With this change there's a single libc_errno usage left: $ grep -lrnH "libc_errno.h" test/src/math/smoke test/src/math/smoke/RoundToIntegerTest.h | 10 个月前 | |
[libc] Clean up errno header usage in all remaining math/smoke tests. (#157565) This is a follow-up to #157517, which fixes the remaining math/smoke tests, and changes them to only include hdr/errno_macros.h, as the tests just need the errno values to pass into EXPECT_MATH_ERRO macro. A couple non-mechanical changes include: * slightly better test coverage for some exp/log tests -- that actually validates that errno is set to EDOM or ERANGE for certain inputs; * explicit inclusion of src/__support/libc_errno.h in RoundToIntegerTest template, which still needs to be fixed. With this change there's a single libc_errno usage left: $ grep -lrnH "libc_errno.h" test/src/math/smoke test/src/math/smoke/RoundToIntegerTest.h | 10 个月前 | |
[libc] Clean up errno header usage in all remaining math/smoke tests. (#157565) This is a follow-up to #157517, which fixes the remaining math/smoke tests, and changes them to only include hdr/errno_macros.h, as the tests just need the errno values to pass into EXPECT_MATH_ERRO macro. A couple non-mechanical changes include: * slightly better test coverage for some exp/log tests -- that actually validates that errno is set to EDOM or ERANGE for certain inputs; * explicit inclusion of src/__support/libc_errno.h in RoundToIntegerTest template, which still needs to be fixed. With this change there's a single libc_errno usage left: $ grep -lrnH "libc_errno.h" test/src/math/smoke test/src/math/smoke/RoundToIntegerTest.h | 10 个月前 | |
[libc] Clean up errno header usage in all remaining math/smoke tests. (#157565) This is a follow-up to #157517, which fixes the remaining math/smoke tests, and changes them to only include hdr/errno_macros.h, as the tests just need the errno values to pass into EXPECT_MATH_ERRO macro. A couple non-mechanical changes include: * slightly better test coverage for some exp/log tests -- that actually validates that errno is set to EDOM or ERANGE for certain inputs; * explicit inclusion of src/__support/libc_errno.h in RoundToIntegerTest template, which still needs to be fixed. With this change there's a single libc_errno usage left: $ grep -lrnH "libc_errno.h" test/src/math/smoke test/src/math/smoke/RoundToIntegerTest.h | 10 个月前 | |
[libc][math] Fix sNaN tests for AArch64 (#159483) Fixes: #134917, https://github.com/llvm/llvm-project/pull/100632#issuecomment-2258772681, #159417 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 10 个月前 | |
[libc] Clean up errno header usage in all remaining math/smoke tests. (#157565) This is a follow-up to #157517, which fixes the remaining math/smoke tests, and changes them to only include hdr/errno_macros.h, as the tests just need the errno values to pass into EXPECT_MATH_ERRO macro. A couple non-mechanical changes include: * slightly better test coverage for some exp/log tests -- that actually validates that errno is set to EDOM or ERANGE for certain inputs; * explicit inclusion of src/__support/libc_errno.h in RoundToIntegerTest template, which still needs to be fixed. With this change there's a single libc_errno usage left: $ grep -lrnH "libc_errno.h" test/src/math/smoke test/src/math/smoke/RoundToIntegerTest.h | 10 个月前 | |
[libc] Clean up errno header usage in all remaining math/smoke tests. (#157565) This is a follow-up to #157517, which fixes the remaining math/smoke tests, and changes them to only include hdr/errno_macros.h, as the tests just need the errno values to pass into EXPECT_MATH_ERRO macro. A couple non-mechanical changes include: * slightly better test coverage for some exp/log tests -- that actually validates that errno is set to EDOM or ERANGE for certain inputs; * explicit inclusion of src/__support/libc_errno.h in RoundToIntegerTest template, which still needs to be fixed. With this change there's a single libc_errno usage left: $ grep -lrnH "libc_errno.h" test/src/math/smoke test/src/math/smoke/RoundToIntegerTest.h | 10 个月前 | |
[libc] Clean up errno header usage in all remaining math/smoke tests. (#157565) This is a follow-up to #157517, which fixes the remaining math/smoke tests, and changes them to only include hdr/errno_macros.h, as the tests just need the errno values to pass into EXPECT_MATH_ERRO macro. A couple non-mechanical changes include: * slightly better test coverage for some exp/log tests -- that actually validates that errno is set to EDOM or ERANGE for certain inputs; * explicit inclusion of src/__support/libc_errno.h in RoundToIntegerTest template, which still needs to be fixed. With this change there's a single libc_errno usage left: $ grep -lrnH "libc_errno.h" test/src/math/smoke test/src/math/smoke/RoundToIntegerTest.h | 10 个月前 | |
[libc] Clean up errno header usage in all remaining math/smoke tests. (#157565) This is a follow-up to #157517, which fixes the remaining math/smoke tests, and changes them to only include hdr/errno_macros.h, as the tests just need the errno values to pass into EXPECT_MATH_ERRO macro. A couple non-mechanical changes include: * slightly better test coverage for some exp/log tests -- that actually validates that errno is set to EDOM or ERANGE for certain inputs; * explicit inclusion of src/__support/libc_errno.h in RoundToIntegerTest template, which still needs to be fixed. With this change there's a single libc_errno usage left: $ grep -lrnH "libc_errno.h" test/src/math/smoke test/src/math/smoke/RoundToIntegerTest.h | 10 个月前 | |
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
[libc][math][c++23] Add fabsbf16 math function (#148398) This PR implements fabsbf16 math function for BFloat16 type along with the tests. --------- Signed-off-by: krishna2803 <kpandey81930@gmail.com> Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> Co-authored-by: OverMighty <its.overmighty@gmail.com> | 1 年前 | |
[libc][math] Add C23 math function fabsf128. (#77825) | 2 年前 | |
[libc][math][c23] Add fabsf16 C23 math function (#93567) cc @lntue | 2 年前 | |
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
[libc][math]fadd implementation (#99694) - **[libc] math fadd** - **[libc][math] implemented fadd** | 2 年前 | |
[libc][math][c23] Add fadd{l,f128} C23 math functions (#102531) Co-authored-by: OverMighty <its.overmighty@gmail.com> | 1 年前 | |
[libc][math][c23] Add fadd{l,f128} C23 math functions (#102531) Co-authored-by: OverMighty <its.overmighty@gmail.com> | 1 年前 | |
[libc][math] Add C23 math function fdimf128. (#81074) | 2 年前 | |
[libc][math][c++23] Add {canonicalize,iscanonical,fdim,copysign,issignaling}bf16 math functions (#155567) This PR adds the following basic math functions for BFloat16 type along with the tests: - canonicalizebf16 - iscanonicalbf16 - fdimbf16 - copysignbf16 - issignalingbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math] Add C23 math function fdimf128. (#81074) | 2 年前 | |
| 2 年前 | ||
[libc][math] Add C23 math function fdimf128. (#81074) | 2 年前 | |
[libc][math] Add C23 math function fdimf128. (#81074) | 2 年前 | |
[libc][math][c23] Add ffma{,l,f128} and fdiv{,l,f128} C23 math functions #101089 (#101253) - added all variations of ffma and fdiv - will add all new headers into yaml for next patch - only fsub is left then all basic operations for float is complete --------- Co-authored-by: OverMighty <its.overmighty@gmail.com> | 1 年前 | |
[libc][math][c23] Add ffma{,l,f128} and fdiv{,l,f128} C23 math functions #101089 (#101253) - added all variations of ffma and fdiv - will add all new headers into yaml for next patch - only fsub is left then all basic operations for float is complete --------- Co-authored-by: OverMighty <its.overmighty@gmail.com> | 1 年前 | |
[libc][math][c23] Add ffma{,l,f128} and fdiv{,l,f128} C23 math functions #101089 (#101253) - added all variations of ffma and fdiv - will add all new headers into yaml for next patch - only fsub is left then all basic operations for float is complete --------- Co-authored-by: OverMighty <its.overmighty@gmail.com> | 1 年前 | |
[libc][math][c23] Add ffma{,l,f128} and fdiv{,l,f128} C23 math functions #101089 (#101253) - added all variations of ffma and fdiv - will add all new headers into yaml for next patch - only fsub is left then all basic operations for float is complete --------- Co-authored-by: OverMighty <its.overmighty@gmail.com> | 1 年前 | |
[libc][math][c23] Add ffma{,l,f128} and fdiv{,l,f128} C23 math functions #101089 (#101253) - added all variations of ffma and fdiv - will add all new headers into yaml for next patch - only fsub is left then all basic operations for float is complete --------- Co-authored-by: OverMighty <its.overmighty@gmail.com> | 1 年前 | |
[libc][math][c23] Add ffma{,l,f128} and fdiv{,l,f128} C23 math functions #101089 (#101253) - added all variations of ffma and fdiv - will add all new headers into yaml for next patch - only fsub is left then all basic operations for float is complete --------- Co-authored-by: OverMighty <its.overmighty@gmail.com> | 1 年前 | |
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
[libc][math][c++23] Add {ceil,floor,round,roundeven,trunc}bf16 math functions (#152352) This PR implements the following basic math functions for BFloat16 type along with the tests: - ceilbf16 - floorbf16 - roundbf16 - roundevenbf16 - truncbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math] Add float128 rounding functions (ceilf128, floorf128, roundf128, truncf128). (#80634) | 2 年前 | |
[libc][math][c23] Add {ceil,floor,round,roundeven,trunc}f16 C23 math functions (#94001) | 2 年前 | |
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
| 2 年前 | ||
[libc][math][c23] Add fmaf16 C23 math function. (#130757) Implementation of fmaf16 function for 16-bit inputs. | 1 年前 | |
| 2 年前 | ||
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
[libc][math][c++23] Add f{max,min}bf16 math functions (#152782) Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc] Add fminf128 and fmaxf128 implementations for Linux x86_64. (#79307) Co-authored-by: Felix <felix@Dirks-MacBook-Pro.local> | 2 年前 | |
| 2 年前 | ||
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
[libc][math][c23] add c23 floating point fmaximum and fminimum functions. (#86016) Fixes https://github.com/llvm/llvm-project/issues/85496. --------- Co-authored-by: Job Hernandez <h93@protonmail.com> | 2 年前 | |
[libc][math][c++23] Add f{max,min}imum{,_mag,_mag_num,_num}bf16 math functions (#152881) This PR adds the following basic math functions for BFloat16 type along with the tests: - fmaximumbf16 - fmaximum_magbf16 - fmaximum_mag_numbf16 - fmaximum_numbf16 - fminimumbf16 - fminimum_magbf16 - fminimum_mag_numbf16 - fminimum_numbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c23] add c23 floating point fmaximum and fminimum functions. (#86016) Fixes https://github.com/llvm/llvm-project/issues/85496. --------- Co-authored-by: Job Hernandez <h93@protonmail.com> | 2 年前 | |
| 2 年前 | ||
[libc][math][c23] add c23 floating point fmaximum and fminimum functions. (#86016) Fixes https://github.com/llvm/llvm-project/issues/85496. --------- Co-authored-by: Job Hernandez <h93@protonmail.com> | 2 年前 | |
[libc][math][c23] add c23 floating point fmaximum and fminimum functions. (#86016) Fixes https://github.com/llvm/llvm-project/issues/85496. --------- Co-authored-by: Job Hernandez <h93@protonmail.com> | 2 年前 | |
[libc][math][c23] add c23 floating point fmaximum and fminimum functions. (#86016) Fixes https://github.com/llvm/llvm-project/issues/85496. --------- Co-authored-by: Job Hernandez <h93@protonmail.com> | 2 年前 | |
[libc][math][c++23] Add f{max,min}imum{,_mag,_mag_num,_num}bf16 math functions (#152881) This PR adds the following basic math functions for BFloat16 type along with the tests: - fmaximumbf16 - fmaximum_magbf16 - fmaximum_mag_numbf16 - fmaximum_numbf16 - fminimumbf16 - fminimum_magbf16 - fminimum_mag_numbf16 - fminimum_numbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c23] add c23 floating point fmaximum and fminimum functions. (#86016) Fixes https://github.com/llvm/llvm-project/issues/85496. --------- Co-authored-by: Job Hernandez <h93@protonmail.com> | 2 年前 | |
| 2 年前 | ||
[libc][math][c23] add c23 floating point fmaximum and fminimum functions. (#86016) Fixes https://github.com/llvm/llvm-project/issues/85496. --------- Co-authored-by: Job Hernandez <h93@protonmail.com> | 2 年前 | |
[libc][math][c23] add c23 floating point fmaximum and fminimum functions. (#86016) Fixes https://github.com/llvm/llvm-project/issues/85496. --------- Co-authored-by: Job Hernandez <h93@protonmail.com> | 2 年前 | |
[libc][math][c23] add c23 floating point fmaximum and fminimum functions. (#86016) Fixes https://github.com/llvm/llvm-project/issues/85496. --------- Co-authored-by: Job Hernandez <h93@protonmail.com> | 2 年前 | |
[libc][math][c++23] Add f{max,min}imum{,_mag,_mag_num,_num}bf16 math functions (#152881) This PR adds the following basic math functions for BFloat16 type along with the tests: - fmaximumbf16 - fmaximum_magbf16 - fmaximum_mag_numbf16 - fmaximum_numbf16 - fminimumbf16 - fminimum_magbf16 - fminimum_mag_numbf16 - fminimum_numbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c23] add c23 floating point fmaximum and fminimum functions. (#86016) Fixes https://github.com/llvm/llvm-project/issues/85496. --------- Co-authored-by: Job Hernandez <h93@protonmail.com> | 2 年前 | |
| 2 年前 | ||
[libc][math][c23] add c23 floating point fmaximum and fminimum functions. (#86016) Fixes https://github.com/llvm/llvm-project/issues/85496. --------- Co-authored-by: Job Hernandez <h93@protonmail.com> | 2 年前 | |
[libc][math][c23] add c23 floating point fmaximum and fminimum functions. (#86016) Fixes https://github.com/llvm/llvm-project/issues/85496. --------- Co-authored-by: Job Hernandez <h93@protonmail.com> | 2 年前 | |
[libc][math][c23] add c23 floating point fmaximum and fminimum functions. (#86016) Fixes https://github.com/llvm/llvm-project/issues/85496. --------- Co-authored-by: Job Hernandez <h93@protonmail.com> | 2 年前 | |
[libc][math][c++23] Add f{max,min}imum{,_mag,_mag_num,_num}bf16 math functions (#152881) This PR adds the following basic math functions for BFloat16 type along with the tests: - fmaximumbf16 - fmaximum_magbf16 - fmaximum_mag_numbf16 - fmaximum_numbf16 - fminimumbf16 - fminimum_magbf16 - fminimum_mag_numbf16 - fminimum_numbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c23] add c23 floating point fmaximum and fminimum functions. (#86016) Fixes https://github.com/llvm/llvm-project/issues/85496. --------- Co-authored-by: Job Hernandez <h93@protonmail.com> | 2 年前 | |
| 2 年前 | ||
[libc][math][c23] add c23 floating point fmaximum and fminimum functions. (#86016) Fixes https://github.com/llvm/llvm-project/issues/85496. --------- Co-authored-by: Job Hernandez <h93@protonmail.com> | 2 年前 | |
[libc][math][c23] add c23 floating point fmaximum and fminimum functions. (#86016) Fixes https://github.com/llvm/llvm-project/issues/85496. --------- Co-authored-by: Job Hernandez <h93@protonmail.com> | 2 年前 | |
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
[libc][math][c++23] Add f{max,min}bf16 math functions (#152782) Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc] Add fminf128 and fmaxf128 implementations for Linux x86_64. (#79307) Co-authored-by: Felix <felix@Dirks-MacBook-Pro.local> | 2 年前 | |
| 2 年前 | ||
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
[libc][math][c23] add c23 floating point fmaximum and fminimum functions. (#86016) Fixes https://github.com/llvm/llvm-project/issues/85496. --------- Co-authored-by: Job Hernandez <h93@protonmail.com> | 2 年前 | |
[libc][math][c++23] Add f{max,min}imum{,_mag,_mag_num,_num}bf16 math functions (#152881) This PR adds the following basic math functions for BFloat16 type along with the tests: - fmaximumbf16 - fmaximum_magbf16 - fmaximum_mag_numbf16 - fmaximum_numbf16 - fminimumbf16 - fminimum_magbf16 - fminimum_mag_numbf16 - fminimum_numbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c23] add c23 floating point fmaximum and fminimum functions. (#86016) Fixes https://github.com/llvm/llvm-project/issues/85496. --------- Co-authored-by: Job Hernandez <h93@protonmail.com> | 2 年前 | |
| 2 年前 | ||
[libc][math][c23] add c23 floating point fmaximum and fminimum functions. (#86016) Fixes https://github.com/llvm/llvm-project/issues/85496. --------- Co-authored-by: Job Hernandez <h93@protonmail.com> | 2 年前 | |
[libc][math][c23] add c23 floating point fmaximum and fminimum functions. (#86016) Fixes https://github.com/llvm/llvm-project/issues/85496. --------- Co-authored-by: Job Hernandez <h93@protonmail.com> | 2 年前 | |
[libc][math][c23] add c23 floating point fmaximum and fminimum functions. (#86016) Fixes https://github.com/llvm/llvm-project/issues/85496. --------- Co-authored-by: Job Hernandez <h93@protonmail.com> | 2 年前 | |
[libc][math][c++23] Add f{max,min}imum{,_mag,_mag_num,_num}bf16 math functions (#152881) This PR adds the following basic math functions for BFloat16 type along with the tests: - fmaximumbf16 - fmaximum_magbf16 - fmaximum_mag_numbf16 - fmaximum_numbf16 - fminimumbf16 - fminimum_magbf16 - fminimum_mag_numbf16 - fminimum_numbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c23] add c23 floating point fmaximum and fminimum functions. (#86016) Fixes https://github.com/llvm/llvm-project/issues/85496. --------- Co-authored-by: Job Hernandez <h93@protonmail.com> | 2 年前 | |
| 2 年前 | ||
[libc][math][c23] add c23 floating point fmaximum and fminimum functions. (#86016) Fixes https://github.com/llvm/llvm-project/issues/85496. --------- Co-authored-by: Job Hernandez <h93@protonmail.com> | 2 年前 | |
[libc][math][c23] add c23 floating point fmaximum and fminimum functions. (#86016) Fixes https://github.com/llvm/llvm-project/issues/85496. --------- Co-authored-by: Job Hernandez <h93@protonmail.com> | 2 年前 | |
[libc][math][c23] add c23 floating point fmaximum and fminimum functions. (#86016) Fixes https://github.com/llvm/llvm-project/issues/85496. --------- Co-authored-by: Job Hernandez <h93@protonmail.com> | 2 年前 | |
[libc][math][c++23] Add f{max,min}imum{,_mag,_mag_num,_num}bf16 math functions (#152881) This PR adds the following basic math functions for BFloat16 type along with the tests: - fmaximumbf16 - fmaximum_magbf16 - fmaximum_mag_numbf16 - fmaximum_numbf16 - fminimumbf16 - fminimum_magbf16 - fminimum_mag_numbf16 - fminimum_numbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c23] add c23 floating point fmaximum and fminimum functions. (#86016) Fixes https://github.com/llvm/llvm-project/issues/85496. --------- Co-authored-by: Job Hernandez <h93@protonmail.com> | 2 年前 | |
| 2 年前 | ||
[libc][math][c23] add c23 floating point fmaximum and fminimum functions. (#86016) Fixes https://github.com/llvm/llvm-project/issues/85496. --------- Co-authored-by: Job Hernandez <h93@protonmail.com> | 2 年前 | |
[libc][math][c23] add c23 floating point fmaximum and fminimum functions. (#86016) Fixes https://github.com/llvm/llvm-project/issues/85496. --------- Co-authored-by: Job Hernandez <h93@protonmail.com> | 2 年前 | |
[libc][math][c23] add c23 floating point fmaximum and fminimum functions. (#86016) Fixes https://github.com/llvm/llvm-project/issues/85496. --------- Co-authored-by: Job Hernandez <h93@protonmail.com> | 2 年前 | |
[libc][math][c++23] Add f{max,min}imum{,_mag,_mag_num,_num}bf16 math functions (#152881) This PR adds the following basic math functions for BFloat16 type along with the tests: - fmaximumbf16 - fmaximum_magbf16 - fmaximum_mag_numbf16 - fmaximum_numbf16 - fminimumbf16 - fminimum_magbf16 - fminimum_mag_numbf16 - fminimum_numbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c23] add c23 floating point fmaximum and fminimum functions. (#86016) Fixes https://github.com/llvm/llvm-project/issues/85496. --------- Co-authored-by: Job Hernandez <h93@protonmail.com> | 2 年前 | |
| 2 年前 | ||
[libc][math][c23] add c23 floating point fmaximum and fminimum functions. (#86016) Fixes https://github.com/llvm/llvm-project/issues/85496. --------- Co-authored-by: Job Hernandez <h93@protonmail.com> | 2 年前 | |
[libc][math][c23] add c23 floating point fmaximum and fminimum functions. (#86016) Fixes https://github.com/llvm/llvm-project/issues/85496. --------- Co-authored-by: Job Hernandez <h93@protonmail.com> | 2 年前 | |
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
[libc][math][c++23] Add fmodbf16 math function (#155575) This PR adds fmodbf16 basic math function for BFloat16 type along with the tests. --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 10 个月前 | |
[libc][math][c23] Add fmodl and fmodf128 math functions. (#84600) - Allow FMod template to have different computational types and make it work for 80-bit long double. - Switch to use uint64_t as the intermediate computational types for float, significantly reduce the latency of fmodf when the exponent difference is large. | 2 年前 | |
| 2 年前 | ||
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
[libc][math][c23] Add fmodl and fmodf128 math functions. (#84600) - Allow FMod template to have different computational types and make it work for 80-bit long double. - Switch to use uint64_t as the intermediate computational types for float, significantly reduce the latency of fmodf when the exponent difference is large. | 2 年前 | |
[libc][math] Improve fmul performance by using double-double arithmetic. (#107517) Performance tests with inputs in denormal range: -- My function -- Total time : 2731072304 ns Average runtime : 68.2767 ns/op Ops per second : 14646276 op/s -- Other function -- Total time : 3259744268 ns Average runtime : 81.4935 ns/op Ops per second : 12270913 op/s -- Average runtime ratio -- Mine / Other's : 0.837818 Performance tests with inputs in normal range: -- My function -- Total time : 93467258 ns Average runtime : 2.33668 ns/op Ops per second : 427957777 op/s -- Other function -- Total time : 637295452 ns Average runtime : 15.9324 ns/op Ops per second : 62765299 op/s -- Average runtime ratio -- Mine / Other's : 0.146662 Performance tests with inputs in normal range with exponents close to each other: -- My function -- Total time : 95764894 ns Average runtime : 2.39412 ns/op Ops per second : 417690014 op/s -- Other function -- Total time : 639866770 ns Average runtime : 15.9967 ns/op Ops per second : 62513075 op/s -- Average runtime ratio -- Mine / Other's : 0.149664 --------- Co-authored-by: Tue Ly <lntue@google.com> | 1 年前 | |
| 2 年前 | ||
| 2 年前 | ||
[libc][math] Add C23 math function frexpf128. (#81337) | 2 年前 | |
[libc][math][c++23] Add {frexp,ilogb,ldexp,llogb,logb}bf16 math functions (#154427) This PR adds the following basic math functions for BFloat16 type along with the tests: - frexpbf16 - ilobbf16 - ldexpbf16 - llogbbf16 - logbbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math] Add C23 math function frexpf128. (#81337) | 2 年前 | |
| 2 年前 | ||
[libc][math] Add C23 math function frexpf128. (#81337) | 2 年前 | |
[libc][math] Add C23 math function frexpf128. (#81337) | 2 年前 | |
| 2 年前 | ||
[libc][math][c++23] Add {,u}fromfp{,x}bf16 math functions (#153992) This PR adds the following basic math functions for BFloat16 type along with the tests: - fromfpbf16 - fromfpxbf16 - ufromfpbf16 - ufromfpxbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
| 2 年前 | ||
[libc][math][c23] Add {fromfp,fromfpx,ufromfp,ufromfpx}f16 C23 math functions (#94254) https://github.com/llvm/llvm-project/issues/93566 | 2 年前 | |
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
[libc][math][c++23] Add {,u}fromfp{,x}bf16 math functions (#153992) This PR adds the following basic math functions for BFloat16 type along with the tests: - fromfpbf16 - fromfpxbf16 - ufromfpbf16 - ufromfpxbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
| 2 年前 | ||
[libc][math][c23] Add {fromfp,fromfpx,ufromfp,ufromfpx}f16 C23 math functions (#94254) https://github.com/llvm/llvm-project/issues/93566 | 2 年前 | |
| 2 年前 | ||
| 2 年前 | ||
[libc][math][c23] Add entrypoints and tests for fsqrt{,l,f128} (#99669) | 2 年前 | |
[libc][math][c23] Add entrypoints and tests for fsqrt{,l,f128} (#99669) | 2 年前 | |
[libc][math][c23] Add entrypoints and tests for fsqrt{,l,f128} (#99669) | 2 年前 | |
[libc][math][c23] Add fsub{,l,f128} and remainderf128 C23 math functions (#101576) Co-authored-by: OverMighty <its.overmighty@gmail.com> | 1 年前 | |
[libc][math][c23] Add fsub{,l,f128} and remainderf128 C23 math functions (#101576) Co-authored-by: OverMighty <its.overmighty@gmail.com> | 1 年前 | |
[libc][math][c23] Add fsub{,l,f128} and remainderf128 C23 math functions (#101576) Co-authored-by: OverMighty <its.overmighty@gmail.com> | 1 年前 | |
[libc][math] Improve the performance of sqrtf128. (#122578) Use a combination of polynomial approximation and Newton-Raphson iterations in 64-bit and 128-bit integers to improve the performance of sqrtf128. The correct rounding is provided by squaring the result and comparing it with the argument. Performance improvement using the newly added perf test: - My function = the improved implementation from this PR - Other function = current implementation using libc/src/__support/FPUtil/generic/sqrt.h Performance tests with inputs in denormal range: -- My function -- Total time : 1260765265 ns Average runtime : 125.951 ns/op Ops per second : 7939623 op/s -- Other function -- Total time : 7160726518 ns Average runtime : 715.357 ns/op Ops per second : 1397902 op/s -- Average runtime ratio -- Mine / Other's : 0.176067 Performance tests with inputs in normal range: -- My function -- Total time : 373003808 ns Average runtime : 37.2631 ns/op Ops per second : 26836189 op/s -- Other function -- Total time : 7353398916 ns Average runtime : 734.605 ns/op Ops per second : 1361275 op/s -- Average runtime ratio -- Mine / Other's : 0.0507254 --------- Co-authored-by: Alexei Sibidanov <sibid@uvic.ca> | 1 年前 | |
[libc][math] Improve the performance of sqrtf128. (#122578) Use a combination of polynomial approximation and Newton-Raphson iterations in 64-bit and 128-bit integers to improve the performance of sqrtf128. The correct rounding is provided by squaring the result and comparing it with the argument. Performance improvement using the newly added perf test: - My function = the improved implementation from this PR - Other function = current implementation using libc/src/__support/FPUtil/generic/sqrt.h Performance tests with inputs in denormal range: -- My function -- Total time : 1260765265 ns Average runtime : 125.951 ns/op Ops per second : 7939623 op/s -- Other function -- Total time : 7160726518 ns Average runtime : 715.357 ns/op Ops per second : 1397902 op/s -- Average runtime ratio -- Mine / Other's : 0.176067 Performance tests with inputs in normal range: -- My function -- Total time : 373003808 ns Average runtime : 37.2631 ns/op Ops per second : 26836189 op/s -- Other function -- Total time : 7353398916 ns Average runtime : 734.605 ns/op Ops per second : 1361275 op/s -- Average runtime ratio -- Mine / Other's : 0.0507254 --------- Co-authored-by: Alexei Sibidanov <sibid@uvic.ca> | 1 年前 | |
[libc][math] Improve the performance of sqrtf128. (#122578) Use a combination of polynomial approximation and Newton-Raphson iterations in 64-bit and 128-bit integers to improve the performance of sqrtf128. The correct rounding is provided by squaring the result and comparing it with the argument. Performance improvement using the newly added perf test: - My function = the improved implementation from this PR - Other function = current implementation using libc/src/__support/FPUtil/generic/sqrt.h Performance tests with inputs in denormal range: -- My function -- Total time : 1260765265 ns Average runtime : 125.951 ns/op Ops per second : 7939623 op/s -- Other function -- Total time : 7160726518 ns Average runtime : 715.357 ns/op Ops per second : 1397902 op/s -- Average runtime ratio -- Mine / Other's : 0.176067 Performance tests with inputs in normal range: -- My function -- Total time : 373003808 ns Average runtime : 37.2631 ns/op Ops per second : 26836189 op/s -- Other function -- Total time : 7353398916 ns Average runtime : 734.605 ns/op Ops per second : 1361275 op/s -- Average runtime ratio -- Mine / Other's : 0.0507254 --------- Co-authored-by: Alexei Sibidanov <sibid@uvic.ca> | 1 年前 | |
[libc][math] Improve the performance of sqrtf128. (#122578) Use a combination of polynomial approximation and Newton-Raphson iterations in 64-bit and 128-bit integers to improve the performance of sqrtf128. The correct rounding is provided by squaring the result and comparing it with the argument. Performance improvement using the newly added perf test: - My function = the improved implementation from this PR - Other function = current implementation using libc/src/__support/FPUtil/generic/sqrt.h Performance tests with inputs in denormal range: -- My function -- Total time : 1260765265 ns Average runtime : 125.951 ns/op Ops per second : 7939623 op/s -- Other function -- Total time : 7160726518 ns Average runtime : 715.357 ns/op Ops per second : 1397902 op/s -- Average runtime ratio -- Mine / Other's : 0.176067 Performance tests with inputs in normal range: -- My function -- Total time : 373003808 ns Average runtime : 37.2631 ns/op Ops per second : 26836189 op/s -- Other function -- Total time : 7353398916 ns Average runtime : 734.605 ns/op Ops per second : 1361275 op/s -- Average runtime ratio -- Mine / Other's : 0.0507254 --------- Co-authored-by: Alexei Sibidanov <sibid@uvic.ca> | 1 年前 | |
[libc][math][c23] add entrypoints and tests for getpayload{,f,f128} (#101285) | 1 年前 | |
[libc][math][c++23] Add {get,set}payloadbf16 and setpayloadsigbf16 math functions (#153994) This PR adds the following basic math functions for BFloat16 type along with the tests: - getpayloadbf16 - setpayloadbf16 - setpayloadsigbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c23] add entrypoints and tests for getpayload{,f,f128} (#101285) | 1 年前 | |
| 2 年前 | ||
[libc][math][c23] add entrypoints and tests for getpayload{,f,f128} (#101285) | 1 年前 | |
[libc][math] Add getpayloadl function. (#102214) | 1 年前 | |
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
[libc][math][c23] Add hypotf16 function (#131991) Implement hypot for Float16 along with tests. | 1 年前 | |
[libc][math] Add tests and fix some issues with FTZ/DAZ modes. (#113744) | 1 年前 | |
[libc][math][c23] Add C23 math functions ilogbf128, logbf128, and llogb(f|l|f128). (#82144) | 2 年前 | |
[libc][math][c++23] Add {frexp,ilogb,ldexp,llogb,logb}bf16 math functions (#154427) This PR adds the following basic math functions for BFloat16 type along with the tests: - frexpbf16 - ilobbf16 - ldexpbf16 - llogbbf16 - logbbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c23] Add C23 math functions ilogbf128, logbf128, and llogb(f|l|f128). (#82144) | 2 年前 | |
| 2 年前 | ||
[libc][math][c23] Add C23 math functions ilogbf128, logbf128, and llogb(f|l|f128). (#82144) | 2 年前 | |
[libc][math][c23] Add C23 math functions ilogbf128, logbf128, and llogb(f|l|f128). (#82144) | 2 年前 | |
[libc] Fix iscanonical test on aarch64 and riscv64. (#110907) | 1 年前 | |
[libc][math][c++23] Add {canonicalize,iscanonical,fdim,copysign,issignaling}bf16 math functions (#155567) This PR adds the following basic math functions for BFloat16 type along with the tests: - canonicalizebf16 - iscanonicalbf16 - fdimbf16 - copysignbf16 - issignalingbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
[libc][math] Implement issignaling[f|l] as a libc math function (#110556) This PR implements the issignaling function as part of the libc math library, addressing the TODO items mentioned in #110011 The addition of this function is crucial for completing the implementation of remaining math macros, as referenced in #109201 | 1 年前 | |
[libc][math][c++23] Add {canonicalize,iscanonical,fdim,copysign,issignaling}bf16 math functions (#155567) This PR adds the following basic math functions for BFloat16 type along with the tests: - canonicalizebf16 - iscanonicalbf16 - fdimbf16 - copysignbf16 - issignalingbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math] Implement issignaling[f|l] as a libc math function (#110556) This PR implements the issignaling function as part of the libc math library, addressing the TODO items mentioned in #110011 The addition of this function is crucial for completing the implementation of remaining math macros, as referenced in #109201 | 1 年前 | |
[libc][math] Implement issignaling[f|l] as a libc math function (#110556) This PR implements the issignaling function as part of the libc math library, addressing the TODO items mentioned in #110011 The addition of this function is crucial for completing the implementation of remaining math macros, as referenced in #109201 | 1 年前 | |
[libc][math] Implement issignaling[f|l] as a libc math function (#110556) This PR implements the issignaling function as part of the libc math library, addressing the TODO items mentioned in #110011 The addition of this function is crucial for completing the implementation of remaining math macros, as referenced in #109201 | 1 年前 | |
[libc][math] Implement issignaling[f|l] as a libc math function (#110556) This PR implements the issignaling function as part of the libc math library, addressing the TODO items mentioned in #110011 The addition of this function is crucial for completing the implementation of remaining math macros, as referenced in #109201 | 1 年前 | |
[libc][math] Add C23 ldexpf128 math function and fix DyadicFloat conversions for subnormal ranges and 80-bit floating points. (#81780) | 2 年前 | |
[libc][math][c++23] Add {frexp,ilogb,ldexp,llogb,logb}bf16 math functions (#154427) This PR adds the following basic math functions for BFloat16 type along with the tests: - frexpbf16 - ilobbf16 - ldexpbf16 - llogbbf16 - logbbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math] Add C23 ldexpf128 math function and fix DyadicFloat conversions for subnormal ranges and 80-bit floating points. (#81780) | 2 年前 | |
| 2 年前 | ||
[libc][math] Add C23 ldexpf128 math function and fix DyadicFloat conversions for subnormal ranges and 80-bit floating points. (#81780) | 2 年前 | |
[libc][math] Add C23 ldexpf128 math function and fix DyadicFloat conversions for subnormal ranges and 80-bit floating points. (#81780) | 2 年前 | |
[libc][math][c23] Add C23 math functions ilogbf128, logbf128, and llogb(f|l|f128). (#82144) | 2 年前 | |
[libc][math][c++23] Add {frexp,ilogb,ldexp,llogb,logb}bf16 math functions (#154427) This PR adds the following basic math functions for BFloat16 type along with the tests: - frexpbf16 - ilobbf16 - ldexpbf16 - llogbbf16 - logbbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c23] Add C23 math functions ilogbf128, logbf128, and llogb(f|l|f128). (#82144) | 2 年前 | |
| 2 年前 | ||
[libc][math][c23] Add C23 math functions ilogbf128, logbf128, and llogb(f|l|f128). (#82144) | 2 年前 | |
[libc][math][c23] Add C23 math functions ilogbf128, logbf128, and llogb(f|l|f128). (#82144) | 2 年前 | |
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
[libc][math][c++23] Add {nearbyint,rint,lrint,llrint,lround,llround}bf16 math functions (#153882) This PR adds the following basic math functions for BFloat16 type along with the tests: - nearbyintbf16 - rintbf16 - lrintbf16 - llrintbf16 - lroundbf16 - llroundbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c23] Add (l|ll)rintf128 and (l|ll)roundf128 math functions. (#84504) | 2 年前 | |
[libc][math][c23] Add {nearbyint,rint,lrint,llrint,lround,llround}f16 C23 math functions (#94218) https://github.com/llvm/llvm-project/issues/93566 | 2 年前 | |
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
[libc][math][c++23] Add {nearbyint,rint,lrint,llrint,lround,llround}bf16 math functions (#153882) This PR adds the following basic math functions for BFloat16 type along with the tests: - nearbyintbf16 - rintbf16 - lrintbf16 - llrintbf16 - lroundbf16 - llroundbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c23] Add (l|ll)rintf128 and (l|ll)roundf128 math functions. (#84504) | 2 年前 | |
[libc][math][c23] Add {nearbyint,rint,lrint,llrint,lround,llround}f16 C23 math functions (#94218) https://github.com/llvm/llvm-project/issues/93566 | 2 年前 | |
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
[libc] Clean up errno header usage in all remaining math/smoke tests. (#157565) This is a follow-up to #157517, which fixes the remaining math/smoke tests, and changes them to only include hdr/errno_macros.h, as the tests just need the errno values to pass into EXPECT_MATH_ERRO macro. A couple non-mechanical changes include: * slightly better test coverage for some exp/log tests -- that actually validates that errno is set to EDOM or ERANGE for certain inputs; * explicit inclusion of src/__support/libc_errno.h in RoundToIntegerTest template, which still needs to be fixed. With this change there's a single libc_errno usage left: $ grep -lrnH "libc_errno.h" test/src/math/smoke test/src/math/smoke/RoundToIntegerTest.h | 10 个月前 | |
[libc] Clean up errno header usage in all remaining math/smoke tests. (#157565) This is a follow-up to #157517, which fixes the remaining math/smoke tests, and changes them to only include hdr/errno_macros.h, as the tests just need the errno values to pass into EXPECT_MATH_ERRO macro. A couple non-mechanical changes include: * slightly better test coverage for some exp/log tests -- that actually validates that errno is set to EDOM or ERANGE for certain inputs; * explicit inclusion of src/__support/libc_errno.h in RoundToIntegerTest template, which still needs to be fixed. With this change there's a single libc_errno usage left: $ grep -lrnH "libc_errno.h" test/src/math/smoke test/src/math/smoke/RoundToIntegerTest.h | 10 个月前 | |
[libc] Clean up errno header usage in all remaining math/smoke tests. (#157565) This is a follow-up to #157517, which fixes the remaining math/smoke tests, and changes them to only include hdr/errno_macros.h, as the tests just need the errno values to pass into EXPECT_MATH_ERRO macro. A couple non-mechanical changes include: * slightly better test coverage for some exp/log tests -- that actually validates that errno is set to EDOM or ERANGE for certain inputs; * explicit inclusion of src/__support/libc_errno.h in RoundToIntegerTest template, which still needs to be fixed. With this change there's a single libc_errno usage left: $ grep -lrnH "libc_errno.h" test/src/math/smoke test/src/math/smoke/RoundToIntegerTest.h | 10 个月前 | |
[libc] Clean up errno header usage in all remaining math/smoke tests. (#157565) This is a follow-up to #157517, which fixes the remaining math/smoke tests, and changes them to only include hdr/errno_macros.h, as the tests just need the errno values to pass into EXPECT_MATH_ERRO macro. A couple non-mechanical changes include: * slightly better test coverage for some exp/log tests -- that actually validates that errno is set to EDOM or ERANGE for certain inputs; * explicit inclusion of src/__support/libc_errno.h in RoundToIntegerTest template, which still needs to be fixed. With this change there's a single libc_errno usage left: $ grep -lrnH "libc_errno.h" test/src/math/smoke test/src/math/smoke/RoundToIntegerTest.h | 10 个月前 | |
[libc] Clean up errno header usage in all remaining math/smoke tests. (#157565) This is a follow-up to #157517, which fixes the remaining math/smoke tests, and changes them to only include hdr/errno_macros.h, as the tests just need the errno values to pass into EXPECT_MATH_ERRO macro. A couple non-mechanical changes include: * slightly better test coverage for some exp/log tests -- that actually validates that errno is set to EDOM or ERANGE for certain inputs; * explicit inclusion of src/__support/libc_errno.h in RoundToIntegerTest template, which still needs to be fixed. With this change there's a single libc_errno usage left: $ grep -lrnH "libc_errno.h" test/src/math/smoke test/src/math/smoke/RoundToIntegerTest.h | 10 个月前 | |
[libc] Clean up errno header usage in all remaining math/smoke tests. (#157565) This is a follow-up to #157517, which fixes the remaining math/smoke tests, and changes them to only include hdr/errno_macros.h, as the tests just need the errno values to pass into EXPECT_MATH_ERRO macro. A couple non-mechanical changes include: * slightly better test coverage for some exp/log tests -- that actually validates that errno is set to EDOM or ERANGE for certain inputs; * explicit inclusion of src/__support/libc_errno.h in RoundToIntegerTest template, which still needs to be fixed. With this change there's a single libc_errno usage left: $ grep -lrnH "libc_errno.h" test/src/math/smoke test/src/math/smoke/RoundToIntegerTest.h | 10 个月前 | |
[libc] Clean up errno header usage in all remaining math/smoke tests. (#157565) This is a follow-up to #157517, which fixes the remaining math/smoke tests, and changes them to only include hdr/errno_macros.h, as the tests just need the errno values to pass into EXPECT_MATH_ERRO macro. A couple non-mechanical changes include: * slightly better test coverage for some exp/log tests -- that actually validates that errno is set to EDOM or ERANGE for certain inputs; * explicit inclusion of src/__support/libc_errno.h in RoundToIntegerTest template, which still needs to be fixed. With this change there's a single libc_errno usage left: $ grep -lrnH "libc_errno.h" test/src/math/smoke test/src/math/smoke/RoundToIntegerTest.h | 10 个月前 | |
[libc] Clean up errno header usage in all remaining math/smoke tests. (#157565) This is a follow-up to #157517, which fixes the remaining math/smoke tests, and changes them to only include hdr/errno_macros.h, as the tests just need the errno values to pass into EXPECT_MATH_ERRO macro. A couple non-mechanical changes include: * slightly better test coverage for some exp/log tests -- that actually validates that errno is set to EDOM or ERANGE for certain inputs; * explicit inclusion of src/__support/libc_errno.h in RoundToIntegerTest template, which still needs to be fixed. With this change there's a single libc_errno usage left: $ grep -lrnH "libc_errno.h" test/src/math/smoke test/src/math/smoke/RoundToIntegerTest.h | 10 个月前 | |
[libc][math][c++23] Add log_bf16 math function (#157811) This PR adds log_bf16 higher math function for BFloat16 type along with the tests. --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 10 个月前 | |
[libc] Clean up errno header usage in all remaining math/smoke tests. (#157565) This is a follow-up to #157517, which fixes the remaining math/smoke tests, and changes them to only include hdr/errno_macros.h, as the tests just need the errno values to pass into EXPECT_MATH_ERRO macro. A couple non-mechanical changes include: * slightly better test coverage for some exp/log tests -- that actually validates that errno is set to EDOM or ERANGE for certain inputs; * explicit inclusion of src/__support/libc_errno.h in RoundToIntegerTest template, which still needs to be fixed. With this change there's a single libc_errno usage left: $ grep -lrnH "libc_errno.h" test/src/math/smoke test/src/math/smoke/RoundToIntegerTest.h | 10 个月前 | |
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
[libc][math][c++23] Add {frexp,ilogb,ldexp,llogb,logb}bf16 math functions (#154427) This PR adds the following basic math functions for BFloat16 type along with the tests: - frexpbf16 - ilobbf16 - ldexpbf16 - llogbbf16 - logbbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c23] Add C23 math functions ilogbf128, logbf128, and llogb(f|l|f128). (#82144) | 2 年前 | |
| 2 年前 | ||
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
[libc] Clean up errno header usage in all remaining math/smoke tests. (#157565) This is a follow-up to #157517, which fixes the remaining math/smoke tests, and changes them to only include hdr/errno_macros.h, as the tests just need the errno values to pass into EXPECT_MATH_ERRO macro. A couple non-mechanical changes include: * slightly better test coverage for some exp/log tests -- that actually validates that errno is set to EDOM or ERANGE for certain inputs; * explicit inclusion of src/__support/libc_errno.h in RoundToIntegerTest template, which still needs to be fixed. With this change there's a single libc_errno usage left: $ grep -lrnH "libc_errno.h" test/src/math/smoke test/src/math/smoke/RoundToIntegerTest.h | 10 个月前 | |
[libc] Clean up errno header usage in all remaining math/smoke tests. (#157565) This is a follow-up to #157517, which fixes the remaining math/smoke tests, and changes them to only include hdr/errno_macros.h, as the tests just need the errno values to pass into EXPECT_MATH_ERRO macro. A couple non-mechanical changes include: * slightly better test coverage for some exp/log tests -- that actually validates that errno is set to EDOM or ERANGE for certain inputs; * explicit inclusion of src/__support/libc_errno.h in RoundToIntegerTest template, which still needs to be fixed. With this change there's a single libc_errno usage left: $ grep -lrnH "libc_errno.h" test/src/math/smoke test/src/math/smoke/RoundToIntegerTest.h | 10 个月前 | |
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
[libc][math][c++23] Add {nearbyint,rint,lrint,llrint,lround,llround}bf16 math functions (#153882) This PR adds the following basic math functions for BFloat16 type along with the tests: - nearbyintbf16 - rintbf16 - lrintbf16 - llrintbf16 - lroundbf16 - llroundbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c23] Add (l|ll)rintf128 and (l|ll)roundf128 math functions. (#84504) | 2 年前 | |
[libc][math][c23] Add {nearbyint,rint,lrint,llrint,lround,llround}f16 C23 math functions (#94218) https://github.com/llvm/llvm-project/issues/93566 | 2 年前 | |
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
[libc][math][c++23] Add {nearbyint,rint,lrint,llrint,lround,llround}bf16 math functions (#153882) This PR adds the following basic math functions for BFloat16 type along with the tests: - nearbyintbf16 - rintbf16 - lrintbf16 - llrintbf16 - lroundbf16 - llroundbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c23] Add (l|ll)rintf128 and (l|ll)roundf128 math functions. (#84504) | 2 年前 | |
[libc][math][c23] Add {nearbyint,rint,lrint,llrint,lround,llround}f16 C23 math functions (#94218) https://github.com/llvm/llvm-project/issues/93566 | 2 年前 | |
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
[libc][math][c++23] Add {modf,remainder,remquo}bf16 math functions (#154652) This PR adds the following basic math functions for BFloat16 type along with the tests: - modfbf16 - remainderbf16 - remquobf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> Co-authored-by: OverMighty <its.overmighty@gmail.com> | 11 个月前 | |
[libc][math][c23] Add modff128 C23 math function. (#84532) | 2 年前 | |
| 2 年前 | ||
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
[libc] Don't rely on LIBC_HAS_SANITIZER when enabling null checks. (#150341) LIBC_HAS_SANITIZER (which is defined if ASan, MSan, or UBSan is enabled) is currently used to implicitly disable null checks, normally enabled via LIBC_ADD_NULL_CHECKS config value. Remove this condition, and rely purely on the config value instead: * LIBC_HAS_SANITIZER will be true even for UBSan modes which doesn't rely on null checks at all (e.g. -fsanitize=alignment) * null checks today (implemented via __builtin_trap) should function normally today even when sanitizer is enabled - trap is still a trap * tests have been migrated to WITH_SIGNAL(-1) which doesn't prescript a particular signal / exit-code, and thus should pass even if sanitizers override the default ones. | 1 年前 | |
[libc][math][c++23] Add nanbf16 math function (#153995) This PR adds the nanbf16 basic math function for BFloat16 type along with the tests. --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc] Don't rely on LIBC_HAS_SANITIZER when enabling null checks. (#150341) LIBC_HAS_SANITIZER (which is defined if ASan, MSan, or UBSan is enabled) is currently used to implicitly disable null checks, normally enabled via LIBC_ADD_NULL_CHECKS config value. Remove this condition, and rely purely on the config value instead: * LIBC_HAS_SANITIZER will be true even for UBSan modes which doesn't rely on null checks at all (e.g. -fsanitize=alignment) * null checks today (implemented via __builtin_trap) should function normally today even when sanitizer is enabled - trap is still a trap * tests have been migrated to WITH_SIGNAL(-1) which doesn't prescript a particular signal / exit-code, and thus should pass even if sanitizers override the default ones. | 1 年前 | |
[libc] Don't rely on LIBC_HAS_SANITIZER when enabling null checks. (#150341) LIBC_HAS_SANITIZER (which is defined if ASan, MSan, or UBSan is enabled) is currently used to implicitly disable null checks, normally enabled via LIBC_ADD_NULL_CHECKS config value. Remove this condition, and rely purely on the config value instead: * LIBC_HAS_SANITIZER will be true even for UBSan modes which doesn't rely on null checks at all (e.g. -fsanitize=alignment) * null checks today (implemented via __builtin_trap) should function normally today even when sanitizer is enabled - trap is still a trap * tests have been migrated to WITH_SIGNAL(-1) which doesn't prescript a particular signal / exit-code, and thus should pass even if sanitizers override the default ones. | 1 年前 | |
[libc] Don't rely on LIBC_HAS_SANITIZER when enabling null checks. (#150341) LIBC_HAS_SANITIZER (which is defined if ASan, MSan, or UBSan is enabled) is currently used to implicitly disable null checks, normally enabled via LIBC_ADD_NULL_CHECKS config value. Remove this condition, and rely purely on the config value instead: * LIBC_HAS_SANITIZER will be true even for UBSan modes which doesn't rely on null checks at all (e.g. -fsanitize=alignment) * null checks today (implemented via __builtin_trap) should function normally today even when sanitizer is enabled - trap is still a trap * tests have been migrated to WITH_SIGNAL(-1) which doesn't prescript a particular signal / exit-code, and thus should pass even if sanitizers override the default ones. | 1 年前 | |
[libc] Don't rely on LIBC_HAS_SANITIZER when enabling null checks. (#150341) LIBC_HAS_SANITIZER (which is defined if ASan, MSan, or UBSan is enabled) is currently used to implicitly disable null checks, normally enabled via LIBC_ADD_NULL_CHECKS config value. Remove this condition, and rely purely on the config value instead: * LIBC_HAS_SANITIZER will be true even for UBSan modes which doesn't rely on null checks at all (e.g. -fsanitize=alignment) * null checks today (implemented via __builtin_trap) should function normally today even when sanitizer is enabled - trap is still a trap * tests have been migrated to WITH_SIGNAL(-1) which doesn't prescript a particular signal / exit-code, and thus should pass even if sanitizers override the default ones. | 1 年前 | |
[libc][math] Adds entrypoint and tests for nearbyintf128,scalbnf128 (#88443) Closes #84689. Adding @lntue for review. I was curious about the implementation of round_using_current_rounding_mode used for the nearbyint functions. It has one of the rounding modes as unreachable ([here](https://github.com/llvm/llvm-project/blob/main/libc/src/__support/FPUtil/NearestIntegerOperations.h#L243)), and I was wondering if this was okay for the nearbyint functions. --------- Co-authored-by: Michael Flanders <mkf727@cs.washington.edu> | 2 年前 | |
[libc][math][c++23] Add {nearbyint,rint,lrint,llrint,lround,llround}bf16 math functions (#153882) This PR adds the following basic math functions for BFloat16 type along with the tests: - nearbyintbf16 - rintbf16 - lrintbf16 - llrintbf16 - lroundbf16 - llroundbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math] Adds entrypoint and tests for nearbyintf128,scalbnf128 (#88443) Closes #84689. Adding @lntue for review. I was curious about the implementation of round_using_current_rounding_mode used for the nearbyint functions. It has one of the rounding modes as unreachable ([here](https://github.com/llvm/llvm-project/blob/main/libc/src/__support/FPUtil/NearestIntegerOperations.h#L243)), and I was wondering if this was okay for the nearbyint functions. --------- Co-authored-by: Michael Flanders <mkf727@cs.washington.edu> | 2 年前 | |
[libc][math][c23] Add {nearbyint,rint,lrint,llrint,lround,llround}f16 C23 math functions (#94218) https://github.com/llvm/llvm-project/issues/93566 | 2 年前 | |
[libc][math] Adds entrypoint and tests for nearbyintf128,scalbnf128 (#88443) Closes #84689. Adding @lntue for review. I was curious about the implementation of round_using_current_rounding_mode used for the nearbyint functions. It has one of the rounding modes as unreachable ([here](https://github.com/llvm/llvm-project/blob/main/libc/src/__support/FPUtil/NearestIntegerOperations.h#L243)), and I was wondering if this was okay for the nearbyint functions. --------- Co-authored-by: Michael Flanders <mkf727@cs.washington.edu> | 2 年前 | |
[libc][math] Adds entrypoint and tests for nearbyintf128,scalbnf128 (#88443) Closes #84689. Adding @lntue for review. I was curious about the implementation of round_using_current_rounding_mode used for the nearbyint functions. It has one of the rounding modes as unreachable ([here](https://github.com/llvm/llvm-project/blob/main/libc/src/__support/FPUtil/NearestIntegerOperations.h#L243)), and I was wondering if this was okay for the nearbyint functions. --------- Co-authored-by: Michael Flanders <mkf727@cs.washington.edu> | 2 年前 | |
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
[libc][math][c++23] Add next{after,down,toward,up}bf16 math functions (#153993) This PR adds the following basic math functions for BFloat16 type along with the tests: - nextafterbf16 - nextdownbf16 - nexttowardbf16 - nextupbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> Co-authored-by: OverMighty <its.overmighty@gmail.com> | 11 个月前 | |
[libc][math] Adds entrypoint and test for nextafterf128 (#84882) | 2 年前 | |
| 2 年前 | ||
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
[libc][math][c23] Add nextup{,f,f128} and nextdown{,f,f128} functions (#85431) See https://github.com/llvm/llvm-project/issues/85283. I had a test for nextdownl that was failing and I thought I should add nextupl and nextdownl later and first make a PR for the other functions. cc @lntue | 2 年前 | |
[libc][math][c++23] Add next{after,down,toward,up}bf16 math functions (#153993) This PR adds the following basic math functions for BFloat16 type along with the tests: - nextafterbf16 - nextdownbf16 - nexttowardbf16 - nextupbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> Co-authored-by: OverMighty <its.overmighty@gmail.com> | 11 个月前 | |
[libc][math][c23] Add nextup{,f,f128} and nextdown{,f,f128} functions (#85431) See https://github.com/llvm/llvm-project/issues/85283. I had a test for nextdownl that was failing and I thought I should add nextupl and nextdownl later and first make a PR for the other functions. cc @lntue | 2 年前 | |
| 2 年前 | ||
[libc][math][c23] Add nextup{,f,f128} and nextdown{,f,f128} functions (#85431) See https://github.com/llvm/llvm-project/issues/85283. I had a test for nextdownl that was failing and I thought I should add nextupl and nextdownl later and first make a PR for the other functions. cc @lntue | 2 年前 | |
| 2 年前 | ||
[libc][math] Implement nexttoward functions (#72763) Implements the nexttoward, nexttowardf and nexttowardl functions. Also, raise excepts required by the standard in nextafter functions. cc: @lntue | 2 年前 | |
[libc][math][c++23] Add next{after,down,toward,up}bf16 math functions (#153993) This PR adds the following basic math functions for BFloat16 type along with the tests: - nextafterbf16 - nextdownbf16 - nexttowardbf16 - nextupbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> Co-authored-by: OverMighty <its.overmighty@gmail.com> | 11 个月前 | |
| 2 年前 | ||
[libc][math] Implement nexttoward functions (#72763) Implements the nexttoward, nexttowardf and nexttowardl functions. Also, raise excepts required by the standard in nextafter functions. cc: @lntue | 2 年前 | |
[libc][math] Implement nexttoward functions (#72763) Implements the nexttoward, nexttowardf and nexttowardl functions. Also, raise excepts required by the standard in nextafter functions. cc: @lntue | 2 年前 | |
[libc][math][c23] Add nextup{,f,f128} and nextdown{,f,f128} functions (#85431) See https://github.com/llvm/llvm-project/issues/85283. I had a test for nextdownl that was failing and I thought I should add nextupl and nextdownl later and first make a PR for the other functions. cc @lntue | 2 年前 | |
[libc][math][c++23] Add next{after,down,toward,up}bf16 math functions (#153993) This PR adds the following basic math functions for BFloat16 type along with the tests: - nextafterbf16 - nextdownbf16 - nexttowardbf16 - nextupbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> Co-authored-by: OverMighty <its.overmighty@gmail.com> | 11 个月前 | |
[libc][math][c23] Add nextup{,f,f128} and nextdown{,f,f128} functions (#85431) See https://github.com/llvm/llvm-project/issues/85283. I had a test for nextdownl that was failing and I thought I should add nextupl and nextdownl later and first make a PR for the other functions. cc @lntue | 2 年前 | |
| 2 年前 | ||
[libc][math][c23] Add nextup{,f,f128} and nextdown{,f,f128} functions (#85431) See https://github.com/llvm/llvm-project/issues/85283. I had a test for nextdownl that was failing and I thought I should add nextupl and nextdownl later and first make a PR for the other functions. cc @lntue | 2 年前 | |
| 2 年前 | ||
[libc][math] Fix signaling NaN handling for math functions. (#133347) Add tests for signaling NaNs, and fix function behavior for handling signaling NaN input. Fixes https://github.com/llvm/llvm-project/issues/124812 | 1 年前 | |
[libc][NFC] Add stdint.h proxy header to fix dependency issue with <stdint.h> includes. (#150303) https://github.com/llvm/llvm-project/issues/149993 | 1 年前 | |
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
[libc][math][c++23] Add {modf,remainder,remquo}bf16 math functions (#154652) This PR adds the following basic math functions for BFloat16 type along with the tests: - modfbf16 - remainderbf16 - remquobf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> Co-authored-by: OverMighty <its.overmighty@gmail.com> | 11 个月前 | |
| 2 年前 | ||
| 2 年前 | ||
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
[libc][math][c++23] Add {nearbyint,rint,lrint,llrint,lround,llround}bf16 math functions (#153882) This PR adds the following basic math functions for BFloat16 type along with the tests: - nearbyintbf16 - rintbf16 - lrintbf16 - llrintbf16 - lroundbf16 - llroundbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c23] Add (l|ll)rintf128 and (l|ll)roundf128 math functions. (#84504) | 2 年前 | |
[libc][math][c23] Add {nearbyint,rint,lrint,llrint,lround,llround}f16 C23 math functions (#94218) https://github.com/llvm/llvm-project/issues/93566 | 2 年前 | |
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
[libc][math][c++23] Add {ceil,floor,round,roundeven,trunc}bf16 math functions (#152352) This PR implements the following basic math functions for BFloat16 type along with the tests: - ceilbf16 - floorbf16 - roundbf16 - roundevenbf16 - truncbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc] Implement roundeven C23 math functions (#87678) Implements the functions roundeven(), roundevenf(), roundevenl() from the roundeven family of functions introduced in C23. Also implements roundevenf128(). | 2 年前 | |
[libc][math][c++23] Add {ceil,floor,round,roundeven,trunc}bf16 math functions (#152352) This PR implements the following basic math functions for BFloat16 type along with the tests: - ceilbf16 - floorbf16 - roundbf16 - roundevenbf16 - truncbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc] Implement roundeven C23 math functions (#87678) Implements the functions roundeven(), roundevenf(), roundevenl() from the roundeven family of functions introduced in C23. Also implements roundevenf128(). | 2 年前 | |
[libc][math][c23] Add {ceil,floor,round,roundeven,trunc}f16 C23 math functions (#94001) | 2 年前 | |
[libc] Implement roundeven C23 math functions (#87678) Implements the functions roundeven(), roundevenf(), roundevenl() from the roundeven family of functions introduced in C23. Also implements roundevenf128(). | 2 年前 | |
[libc] Implement roundeven C23 math functions (#87678) Implements the functions roundeven(), roundevenf(), roundevenl() from the roundeven family of functions introduced in C23. Also implements roundevenf128(). | 2 年前 | |
[libc][math] Add float128 rounding functions (ceilf128, floorf128, roundf128, truncf128). (#80634) | 2 年前 | |
[libc][math][c23] Add {ceil,floor,round,roundeven,trunc}f16 C23 math functions (#94001) | 2 年前 | |
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
[libc][math][c23] Add rsqrtf() function (#159615) Closes #159614 **Changes:** - Initial implementation of rsqrt for single precision float **Some small unrelated style changes to this PR (that I missed in my rsqrtf16 PR):** - Added extra - to the top comments to make it look nicer in libc/shared/math/rsqrtf16.h - Put rsqrtf16 inside of libc/src/__support/math/CMakeLists.txt in sorted order - Rearanged libc_math_function rsqrtf16 in Bazel to match alphabetical order | 9 个月前 | |
[libc][math][c23] Add rsqrtf() function (#159615) Closes #159614 **Changes:** - Initial implementation of rsqrt for single precision float **Some small unrelated style changes to this PR (that I missed in my rsqrtf16 PR):** - Added extra - to the top comments to make it look nicer in libc/shared/math/rsqrtf16.h - Put rsqrtf16 inside of libc/src/__support/math/CMakeLists.txt in sorted order - Rearanged libc_math_function rsqrtf16 in Bazel to match alphabetical order | 9 个月前 | |
[libc][math] Add scalbln{,f,l,f128} math functions (#102219) Co-authored-by: OverMighty <its.overmighty@gmail.com> | 1 年前 | |
[libc][math][c++23] Add scalb{,l}nbf16 math functions (#155569) This PR adds the following basic math functions for BFloat16 type along with the tests: - scalbnbf16 - scalblnbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math] Add scalbln{,f,l,f128} math functions (#102219) Co-authored-by: OverMighty <its.overmighty@gmail.com> | 1 年前 | |
| 2 年前 | ||
[libc][math] Add scalbln{,f,l,f128} math functions (#102219) Co-authored-by: OverMighty <its.overmighty@gmail.com> | 1 年前 | |
[libc][math] Add scalbln{,f,l,f128} math functions (#102219) Co-authored-by: OverMighty <its.overmighty@gmail.com> | 1 年前 | |
| 2 年前 | ||
[libc][math][c++23] Add scalb{,l}nbf16 math functions (#155569) This PR adds the following basic math functions for BFloat16 type along with the tests: - scalbnbf16 - scalblnbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
[libc][math][c23] Add entrypoints and tests for setpayload{,f,f128} (#101122) | 1 年前 | |
[libc][math][c++23] Add {get,set}payloadbf16 and setpayloadsigbf16 math functions (#153994) This PR adds the following basic math functions for BFloat16 type along with the tests: - getpayloadbf16 - setpayloadbf16 - setpayloadsigbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c23] Add entrypoints and tests for setpayload{,f,f128} (#101122) | 1 年前 | |
| 2 年前 | ||
[libc][math][c23] Add entrypoints and tests for setpayload{,f,f128} (#101122) | 1 年前 | |
[libc][math][c23] Add entrypoints and tests for setpayloadsig{,f,l,f128} and setpayloadl. (#102413) | 1 年前 | |
[libc][math][c23] Add entrypoints and tests for setpayloadsig{,f,l,f128} and setpayloadl. (#102413) | 1 年前 | |
[libc][math][c++23] Add {get,set}payloadbf16 and setpayloadsigbf16 math functions (#153994) This PR adds the following basic math functions for BFloat16 type along with the tests: - getpayloadbf16 - setpayloadbf16 - setpayloadsigbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c23] Add entrypoints and tests for setpayloadsig{,f,l,f128} and setpayloadl. (#102413) | 1 年前 | |
| 2 年前 | ||
[libc][math][c23] Add entrypoints and tests for setpayloadsig{,f,l,f128} and setpayloadl. (#102413) | 1 年前 | |
[libc][math][c23] Add entrypoints and tests for setpayloadsig{,f,l,f128} and setpayloadl. (#102413) | 1 年前 | |
[libc][math] Fix signaling NaN handling for math functions. (#133347) Add tests for signaling NaNs, and fix function behavior for handling signaling NaN input. Fixes https://github.com/llvm/llvm-project/issues/124812 | 1 年前 | |
[libc] Clean up errno header usage in all remaining math/smoke tests. (#157565) This is a follow-up to #157517, which fixes the remaining math/smoke tests, and changes them to only include hdr/errno_macros.h, as the tests just need the errno values to pass into EXPECT_MATH_ERRO macro. A couple non-mechanical changes include: * slightly better test coverage for some exp/log tests -- that actually validates that errno is set to EDOM or ERANGE for certain inputs; * explicit inclusion of src/__support/libc_errno.h in RoundToIntegerTest template, which still needs to be fixed. With this change there's a single libc_errno usage left: $ grep -lrnH "libc_errno.h" test/src/math/smoke test/src/math/smoke/RoundToIntegerTest.h | 10 个月前 | |
[libc] Clean up errno header usage in all remaining math/smoke tests. (#157565) This is a follow-up to #157517, which fixes the remaining math/smoke tests, and changes them to only include hdr/errno_macros.h, as the tests just need the errno values to pass into EXPECT_MATH_ERRO macro. A couple non-mechanical changes include: * slightly better test coverage for some exp/log tests -- that actually validates that errno is set to EDOM or ERANGE for certain inputs; * explicit inclusion of src/__support/libc_errno.h in RoundToIntegerTest template, which still needs to be fixed. With this change there's a single libc_errno usage left: $ grep -lrnH "libc_errno.h" test/src/math/smoke test/src/math/smoke/RoundToIntegerTest.h | 10 个月前 | |
[libc] Clean up errno header usage in all remaining math/smoke tests. (#157565) This is a follow-up to #157517, which fixes the remaining math/smoke tests, and changes them to only include hdr/errno_macros.h, as the tests just need the errno values to pass into EXPECT_MATH_ERRO macro. A couple non-mechanical changes include: * slightly better test coverage for some exp/log tests -- that actually validates that errno is set to EDOM or ERANGE for certain inputs; * explicit inclusion of src/__support/libc_errno.h in RoundToIntegerTest template, which still needs to be fixed. With this change there's a single libc_errno usage left: $ grep -lrnH "libc_errno.h" test/src/math/smoke test/src/math/smoke/RoundToIntegerTest.h | 10 个月前 | |
[libc][math] Add tolerance to math tests so that they still work when accurate path is skipped. (#164522) | 9 个月前 | |
[libc] Clean up errno header usage in all remaining math/smoke tests. (#157565) This is a follow-up to #157517, which fixes the remaining math/smoke tests, and changes them to only include hdr/errno_macros.h, as the tests just need the errno values to pass into EXPECT_MATH_ERRO macro. A couple non-mechanical changes include: * slightly better test coverage for some exp/log tests -- that actually validates that errno is set to EDOM or ERANGE for certain inputs; * explicit inclusion of src/__support/libc_errno.h in RoundToIntegerTest template, which still needs to be fixed. With this change there's a single libc_errno usage left: $ grep -lrnH "libc_errno.h" test/src/math/smoke test/src/math/smoke/RoundToIntegerTest.h | 10 个月前 | |
[libc] Clean up errno header usage in all remaining math/smoke tests. (#157565) This is a follow-up to #157517, which fixes the remaining math/smoke tests, and changes them to only include hdr/errno_macros.h, as the tests just need the errno values to pass into EXPECT_MATH_ERRO macro. A couple non-mechanical changes include: * slightly better test coverage for some exp/log tests -- that actually validates that errno is set to EDOM or ERANGE for certain inputs; * explicit inclusion of src/__support/libc_errno.h in RoundToIntegerTest template, which still needs to be fixed. With this change there's a single libc_errno usage left: $ grep -lrnH "libc_errno.h" test/src/math/smoke test/src/math/smoke/RoundToIntegerTest.h | 10 个月前 | |
[libc][math] Fix sNaN tests for AArch64 (#159483) Fixes: #134917, https://github.com/llvm/llvm-project/pull/100632#issuecomment-2258772681, #159417 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 10 个月前 | |
[libc] Clean up errno header usage in all remaining math/smoke tests. (#157565) This is a follow-up to #157517, which fixes the remaining math/smoke tests, and changes them to only include hdr/errno_macros.h, as the tests just need the errno values to pass into EXPECT_MATH_ERRO macro. A couple non-mechanical changes include: * slightly better test coverage for some exp/log tests -- that actually validates that errno is set to EDOM or ERANGE for certain inputs; * explicit inclusion of src/__support/libc_errno.h in RoundToIntegerTest template, which still needs to be fixed. With this change there's a single libc_errno usage left: $ grep -lrnH "libc_errno.h" test/src/math/smoke test/src/math/smoke/RoundToIntegerTest.h | 10 个月前 | |
[libc][math] Improve the performance of sqrtf128. (#122578) Use a combination of polynomial approximation and Newton-Raphson iterations in 64-bit and 128-bit integers to improve the performance of sqrtf128. The correct rounding is provided by squaring the result and comparing it with the argument. Performance improvement using the newly added perf test: - My function = the improved implementation from this PR - Other function = current implementation using libc/src/__support/FPUtil/generic/sqrt.h Performance tests with inputs in denormal range: -- My function -- Total time : 1260765265 ns Average runtime : 125.951 ns/op Ops per second : 7939623 op/s -- Other function -- Total time : 7160726518 ns Average runtime : 715.357 ns/op Ops per second : 1397902 op/s -- Average runtime ratio -- Mine / Other's : 0.176067 Performance tests with inputs in normal range: -- My function -- Total time : 373003808 ns Average runtime : 37.2631 ns/op Ops per second : 26836189 op/s -- Other function -- Total time : 7353398916 ns Average runtime : 734.605 ns/op Ops per second : 1361275 op/s -- Average runtime ratio -- Mine / Other's : 0.0507254 --------- Co-authored-by: Alexei Sibidanov <sibid@uvic.ca> | 1 年前 | |
[libc][math][c++23] Add sqrtbf16 math function (#156654) This PR adds sqrtbf16 higher math function for BFloat16 type along with the tests. --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 10 个月前 | |
[libc] Fix sqrtf128 smoke test for riscv32. (#129094) | 1 年前 | |
[libc][math] Improve the performance of sqrtf128. (#122578) Use a combination of polynomial approximation and Newton-Raphson iterations in 64-bit and 128-bit integers to improve the performance of sqrtf128. The correct rounding is provided by squaring the result and comparing it with the argument. Performance improvement using the newly added perf test: - My function = the improved implementation from this PR - Other function = current implementation using libc/src/__support/FPUtil/generic/sqrt.h Performance tests with inputs in denormal range: -- My function -- Total time : 1260765265 ns Average runtime : 125.951 ns/op Ops per second : 7939623 op/s -- Other function -- Total time : 7160726518 ns Average runtime : 715.357 ns/op Ops per second : 1397902 op/s -- Average runtime ratio -- Mine / Other's : 0.176067 Performance tests with inputs in normal range: -- My function -- Total time : 373003808 ns Average runtime : 37.2631 ns/op Ops per second : 26836189 op/s -- Other function -- Total time : 7353398916 ns Average runtime : 734.605 ns/op Ops per second : 1361275 op/s -- Average runtime ratio -- Mine / Other's : 0.0507254 --------- Co-authored-by: Alexei Sibidanov <sibid@uvic.ca> | 1 年前 | |
[libc][math] Improve the performance of sqrtf128. (#122578) Use a combination of polynomial approximation and Newton-Raphson iterations in 64-bit and 128-bit integers to improve the performance of sqrtf128. The correct rounding is provided by squaring the result and comparing it with the argument. Performance improvement using the newly added perf test: - My function = the improved implementation from this PR - Other function = current implementation using libc/src/__support/FPUtil/generic/sqrt.h Performance tests with inputs in denormal range: -- My function -- Total time : 1260765265 ns Average runtime : 125.951 ns/op Ops per second : 7939623 op/s -- Other function -- Total time : 7160726518 ns Average runtime : 715.357 ns/op Ops per second : 1397902 op/s -- Average runtime ratio -- Mine / Other's : 0.176067 Performance tests with inputs in normal range: -- My function -- Total time : 373003808 ns Average runtime : 37.2631 ns/op Ops per second : 26836189 op/s -- Other function -- Total time : 7353398916 ns Average runtime : 734.605 ns/op Ops per second : 1361275 op/s -- Average runtime ratio -- Mine / Other's : 0.0507254 --------- Co-authored-by: Alexei Sibidanov <sibid@uvic.ca> | 1 年前 | |
[libc][math] Improve the performance of sqrtf128. (#122578) Use a combination of polynomial approximation and Newton-Raphson iterations in 64-bit and 128-bit integers to improve the performance of sqrtf128. The correct rounding is provided by squaring the result and comparing it with the argument. Performance improvement using the newly added perf test: - My function = the improved implementation from this PR - Other function = current implementation using libc/src/__support/FPUtil/generic/sqrt.h Performance tests with inputs in denormal range: -- My function -- Total time : 1260765265 ns Average runtime : 125.951 ns/op Ops per second : 7939623 op/s -- Other function -- Total time : 7160726518 ns Average runtime : 715.357 ns/op Ops per second : 1397902 op/s -- Average runtime ratio -- Mine / Other's : 0.176067 Performance tests with inputs in normal range: -- My function -- Total time : 373003808 ns Average runtime : 37.2631 ns/op Ops per second : 26836189 op/s -- Other function -- Total time : 7353398916 ns Average runtime : 734.605 ns/op Ops per second : 1361275 op/s -- Average runtime ratio -- Mine / Other's : 0.0507254 --------- Co-authored-by: Alexei Sibidanov <sibid@uvic.ca> | 1 年前 | |
[libc][math] Fix incorrect logic in fputil::generic::add_or_sub (#116129) Fixes incorrect logic that went unnoticed until the function was tested with output and input types that have the same underlying floating-point format. | 1 年前 | |
[libc][math] Fix signaling NaN handling for math functions. (#133347) Add tests for signaling NaNs, and fix function behavior for handling signaling NaN input. Fixes https://github.com/llvm/llvm-project/issues/124812 | 1 年前 | |
[libc] Clean up errno header usage in all remaining math/smoke tests. (#157565) This is a follow-up to #157517, which fixes the remaining math/smoke tests, and changes them to only include hdr/errno_macros.h, as the tests just need the errno values to pass into EXPECT_MATH_ERRO macro. A couple non-mechanical changes include: * slightly better test coverage for some exp/log tests -- that actually validates that errno is set to EDOM or ERANGE for certain inputs; * explicit inclusion of src/__support/libc_errno.h in RoundToIntegerTest template, which still needs to be fixed. With this change there's a single libc_errno usage left: $ grep -lrnH "libc_errno.h" test/src/math/smoke test/src/math/smoke/RoundToIntegerTest.h | 10 个月前 | |
[libc] Clean up errno header usage in all remaining math/smoke tests. (#157565) This is a follow-up to #157517, which fixes the remaining math/smoke tests, and changes them to only include hdr/errno_macros.h, as the tests just need the errno values to pass into EXPECT_MATH_ERRO macro. A couple non-mechanical changes include: * slightly better test coverage for some exp/log tests -- that actually validates that errno is set to EDOM or ERANGE for certain inputs; * explicit inclusion of src/__support/libc_errno.h in RoundToIntegerTest template, which still needs to be fixed. With this change there's a single libc_errno usage left: $ grep -lrnH "libc_errno.h" test/src/math/smoke test/src/math/smoke/RoundToIntegerTest.h | 10 个月前 | |
[libc] Clean up errno header usage in all remaining math/smoke tests. (#157565) This is a follow-up to #157517, which fixes the remaining math/smoke tests, and changes them to only include hdr/errno_macros.h, as the tests just need the errno values to pass into EXPECT_MATH_ERRO macro. A couple non-mechanical changes include: * slightly better test coverage for some exp/log tests -- that actually validates that errno is set to EDOM or ERANGE for certain inputs; * explicit inclusion of src/__support/libc_errno.h in RoundToIntegerTest template, which still needs to be fixed. With this change there's a single libc_errno usage left: $ grep -lrnH "libc_errno.h" test/src/math/smoke test/src/math/smoke/RoundToIntegerTest.h | 10 个月前 | |
[libc] Clean up errno header usage in all remaining math/smoke tests. (#157565) This is a follow-up to #157517, which fixes the remaining math/smoke tests, and changes them to only include hdr/errno_macros.h, as the tests just need the errno values to pass into EXPECT_MATH_ERRO macro. A couple non-mechanical changes include: * slightly better test coverage for some exp/log tests -- that actually validates that errno is set to EDOM or ERANGE for certain inputs; * explicit inclusion of src/__support/libc_errno.h in RoundToIntegerTest template, which still needs to be fixed. With this change there's a single libc_errno usage left: $ grep -lrnH "libc_errno.h" test/src/math/smoke test/src/math/smoke/RoundToIntegerTest.h | 10 个月前 | |
[libc] Clean up errno header usage in all remaining math/smoke tests. (#157565) This is a follow-up to #157517, which fixes the remaining math/smoke tests, and changes them to only include hdr/errno_macros.h, as the tests just need the errno values to pass into EXPECT_MATH_ERRO macro. A couple non-mechanical changes include: * slightly better test coverage for some exp/log tests -- that actually validates that errno is set to EDOM or ERANGE for certain inputs; * explicit inclusion of src/__support/libc_errno.h in RoundToIntegerTest template, which still needs to be fixed. With this change there's a single libc_errno usage left: $ grep -lrnH "libc_errno.h" test/src/math/smoke test/src/math/smoke/RoundToIntegerTest.h | 10 个月前 | |
[libc] Clean up errno header usage in all remaining math/smoke tests. (#157565) This is a follow-up to #157517, which fixes the remaining math/smoke tests, and changes them to only include hdr/errno_macros.h, as the tests just need the errno values to pass into EXPECT_MATH_ERRO macro. A couple non-mechanical changes include: * slightly better test coverage for some exp/log tests -- that actually validates that errno is set to EDOM or ERANGE for certain inputs; * explicit inclusion of src/__support/libc_errno.h in RoundToIntegerTest template, which still needs to be fixed. With this change there's a single libc_errno usage left: $ grep -lrnH "libc_errno.h" test/src/math/smoke test/src/math/smoke/RoundToIntegerTest.h | 10 个月前 | |
[libc][math][c23] Add entrypoints and tests for totalorder{,f,f128} (#100593) | 1 年前 | |
[libc][math][c++23] Add totalorder{,mag}bf16 math functions (#155568) This PR adds the following basic math functions for BFloat16 type along with the tests: - totalorderbf16 - totalordermagbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c23] Add entrypoints and tests for totalorder{,f,f128} (#100593) | 1 年前 | |
| 2 年前 | ||
[libc][math][c23] Add entrypoints and tests for totalorder{,f,f128} (#100593) | 1 年前 | |
[libc][math][c23] Add totalorderl function. (#102564) | 1 年前 | |
[libc][math][c23] add entrypoints and tests for totalordermag{f,l,f128} (#100159) Fixes https://github.com/llvm/llvm-project/issues/100139 | 1 年前 | |
[libc][math][c++23] Add totalorder{,mag}bf16 math functions (#155568) This PR adds the following basic math functions for BFloat16 type along with the tests: - totalorderbf16 - totalordermagbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math][c23] add entrypoints and tests for totalordermag{f,l,f128} (#100159) Fixes https://github.com/llvm/llvm-project/issues/100139 | 1 年前 | |
| 2 年前 | ||
[libc][math][c23] add entrypoints and tests for totalordermag{f,l,f128} (#100159) Fixes https://github.com/llvm/llvm-project/issues/100139 | 1 年前 | |
[libc][math][c23] add entrypoints and tests for totalordermag{f,l,f128} (#100159) Fixes https://github.com/llvm/llvm-project/issues/100139 | 1 年前 | |
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
[libc][math][c++23] Add {ceil,floor,round,roundeven,trunc}bf16 math functions (#152352) This PR implements the following basic math functions for BFloat16 type along with the tests: - ceilbf16 - floorbf16 - roundbf16 - roundevenbf16 - truncbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
[libc][math] Add float128 rounding functions (ceilf128, floorf128, roundf128, truncf128). (#80634) | 2 年前 | |
[libc][math][c23] Add {ceil,floor,round,roundeven,trunc}f16 C23 math functions (#94001) | 2 年前 | |
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
| 2 年前 | ||
[libc][math][c++23] Add {,u}fromfp{,x}bf16 math functions (#153992) This PR adds the following basic math functions for BFloat16 type along with the tests: - fromfpbf16 - fromfpxbf16 - ufromfpbf16 - ufromfpxbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
| 2 年前 | ||
[libc][math][c23] Add {fromfp,fromfpx,ufromfp,ufromfpx}f16 C23 math functions (#94254) https://github.com/llvm/llvm-project/issues/93566 | 2 年前 | |
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
[libc][math][c++23] Add {,u}fromfp{,x}bf16 math functions (#153992) This PR adds the following basic math functions for BFloat16 type along with the tests: - fromfpbf16 - fromfpxbf16 - ufromfpbf16 - ufromfpxbf16 --------- Signed-off-by: Krishna Pandey <kpandey81930@gmail.com> | 11 个月前 | |
| 2 年前 | ||
[libc][math][c23] Add {fromfp,fromfpx,ufromfp,ufromfpx}f16 C23 math functions (#94254) https://github.com/llvm/llvm-project/issues/93566 | 2 年前 | |
| 2 年前 | ||
| 2 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 11 个月前 | ||
| 9 个月前 | ||
| 1 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 10 个月前 | ||
| 11 个月前 | ||
| 10 个月前 | ||
| 1 年前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 1 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 10 个月前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 1 年前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 10 个月前 | ||
| 1 年前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 10 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 11 个月前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 11 个月前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 11 个月前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 11 个月前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 9 个月前 | ||
| 9 个月前 | ||
| 1 年前 | ||
| 11 个月前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 11 个月前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 11 个月前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 9 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 1 年前 | ||
| 10 个月前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 10 个月前 | ||
| 1 年前 | ||
| 11 个月前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 11 个月前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 11 个月前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 |